Can't parse text list: 乗 Oregon Deng Wan Ke Bo 圽 time-lag prize 媆 峔 嶾 廫 慭 怽 揬 昞, 梊 榎 橽 歕 沑 漒 瀄 焅 ? 猏 protecting 琝 甛 Jin 痋 盶 癨 瞈 砛 Qi 穃 竆 筡 篭 糪 Gua organ Cui 繺 羂 耚 肻 腬 臶 臷 芢 蒤 薥 Zhong 蝄 mite the mite 裓 覾 譢 豛 赲 踈 躙 輁 郳 light 鈂 bowl e ? ? ? 鏫 Han Han 隲 e ? ? ˉ Si e ? ?鯸 鮘 鳿 e ? ? - Shi
CodePudding user response:
AnsiString into UnicodeString
Json does matter, or is likely to use string decoder TEncoding
CodePudding user response:
JasonCpp when processing utf-8 encoded string is no problem, because the ANSI code is too complex, too many shortcomings, many functions with error, JasonCpp cannot handle AnsiString is understandable,
Substitute UTF8String AnsiString, shall be with the UNICODE string was no problem, avoid the ANSI don't appear anywhere, string constants are written in the L "" UNICODE strings,
UTF8String sJson=L "XXXXXX";
UTF8String and can be directly assigned to each other between UnicodeString UTF8String and STD: : string can be directly assigned to each other between STD: : string and need to use UTF8String transit between UnicodeString
Would would be * * ↘ ↙ ↗ STD: : string please - UTF8String please - UnicodeString ↗ ↖ L "string" L "string"
According to the rules, here's the STD: : string and UTF8String if and char * transform each other, is utf-8, ANSI
CodePudding user response:
Would would be * * ↘ ↙ ↗ STD: : string please - UTF8String please - UnicodeString ↗ ↖ L "string" L "string"
CodePudding user response:
According to the rules, here's the STD: : string and UTF8String is utf-8, ANSI, if the STD: : string and the conversion between char *, convert between UTF8String and char *, is utf-8, program once appear, ANSI code inside, will go wrong,