Open vit9696 opened 8 years ago
For reference:
CHARSET_ASCII
CHARSET_ANSI
CHARSET_OEM
CHARSET_EBCDIC
CHARSET_UNICODE
CHARSET_MAC
CHARSET_ARABIC
CHARSET_BALTIC
CHARSET_CHINESE_S
CHARSET_CHINESE_T
CHARSET_CYRILLIC
CHARSET_EASTEUROPE
CHARSET_GREEK
CHARSET_HEBREW
CHARSET_JAPANESE
CHARSET_KOREAN_J
CHARSET_KOREAN_W
CHARSET_THAI
CHARSET_TURKISH
CHARSET_VIETNAMESE
CHARSET_UTF8
CHARSET_ARABIC_ISO
CHARSET_BALTIC_ISO
CHARSET_CYRILLIC_KOI8R
CHARSET_CYRILLIC_KOI8U
CHARSET_CYRILLIC_ISO
CHARSET_EASTEUROPE_ISO
CHARSET_GREEK_ISO
CHARSET_HEBREW_ISO
CHARSET_JAPANESE_EUCJP
CHARSET_TURKISH_ISO
The actual line I had was like that:
StringToWString(value,CHARSET_JAPANESE)
, and CHARSET_JAPANESE was reported as undefined.It should also be noted that the following implicit cast to utf-8 is valid: