c++ - MultiByteToWideChar conversion -


i have visual c++ application on visual studio 9.0 . have built application using "unicode character set" character set . using windows api a2t conversions , multibyte characters(korean text) not getting converted correctly . saw code a2t , , using cp_thread_acp first parameter multibytetowidechar . when used cp_utf8 same api correct results . per comment cp_thread_acp mentions "current thread's ansi code page " not sure though have built code unicode character set why a2t function not use utf8

the "unicode character set" means windows apis use wchar_t, , communicate program using utf-16. if program uses "narrow" char strings, must perform conversion convert whatever character set input utf-16.

"unicode character set" not cause interpreted utf-8.


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -