on UTF-8, other Unicode encodings and WinAPI