Home > Software engineering >  JsonCpp parsing Json encounter problems - special characters
JsonCpp parsing Json encounter problems - special characters

Time:10-05

Such as this: ク kam bush ク
He returned to the FALSE directly

My environment is: VS2013 ANSI used accustomed to ANSI, if once converted to unicode feeling,,,,
Themselves as being under the new open a Unicode Json parsing, but is still stops here,
if you can give the sample code that is more appreciated!!!!!!!!!!

Solving,

Because the returned string fixed so direct replacement is similar to the ostrich pretend not fix the BUG,,,,

CodePudding user response:

All the string manipulation, use _t function, and pay attention to the sizeof (TCHAR)

CodePudding user response:

打开include\tchar.h一眼,

CodePudding user response:

Use utf8 encoding, jsoncpp can support

CodePudding user response:

reference 1st floor jennyvenus response:
all string operations inside, use _t function, and pay attention to the sizeof (TCHAR)

Thank you for your advice I give it a try

CodePudding user response:

The
reference 3 floor oyljerry response:
use utf8 encoding, jsoncpp can support

Thank you for your advice, I give it a try

CodePudding user response:

引用 2nd floor zhao4zhong1 的回复:
打开include\tchar.h一眼,

Thanks to some
  • Related