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 - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -