Windows专门提供了若干个API来实现字符编码的转换工作。
an application can use the MultiByteToWideChar and WideCharToMultiByte functions to map single-byte character set (SBCS) strings to Unicode and map Unicode strings to SBCS strings
UnicodeToBytes Converts Unicode characters to GB18030 bytes.