Use UTF-8 and convert to/from UTF-16 for Windows API