separate utf8.cpp according to platform