2010年3月4日 星期四

UTF-8 to Wide character

Reading a UTF-8 File
Codeplug replied: Read in the UTF8 file contents and convert it to UTF16LE (Windows Unicode) with MultiByteToWideChar() (discarding any BOM).

MSDN - MultiByteToWideChar(Microsoft Windows CE 3.0)
This function maps a character string to a wide-character (Unicode) string. The character string mapped by this function is not necessarily from a multibyte character set.

MultiByteToWideChar和WideCharToMultiByte用法详解

NelsonChung's blog - 處理multi-language in wince

Conversion between Unicode UTF-16 and UTF-8 in C++/Win32

沒有留言:

Powered By Blogger