Home > database >  Turn Chinese pb12.5 unicode
Turn Chinese pb12.5 unicode

Time:10-16

How can you say PB12.5 unicode into Chinese? PB9 function cannot be used, in turn out garbled WideCharToMultiByte,
For example "\ u4e0a \ u6d77 \ u4e0a \ u6d77 \ u5e02 \ u6d66 \ u4e1c \ u65b0 \ u533a \ u9646 \ u5bb6 \ u5634 \ u8857 \ u9053 \ u4e16 \ u7eaa \ u5927 \ u9053100 \ u53f7 \ u73af \ u7403 \ u91d1 \ u878d \ u4e2d \ u5fc323 \ u697c"

CodePudding user response:

Unicode, no conflict with Chinese
ANSI unicode can be stored in Chinese!

CodePudding user response:

To convert Unicode to Ansi code, PB9 can read;
PB12.5:
Such as:
Blob lb_blob
String ls_result
String ls_temp="test data"//Unicode


Lb_blob=blob (ls_temp)
Ls_result=string (lb_blob EncodingANSI!)//convert the Ansi encoded string, PB9 can know

CodePudding user response:

No, is to put \ u4e0a \ u6d77 \ u4e0a \ u6d77 \ u5e02 \ u6d66 \ u4e1c \ u65b0 \ u533a \ u9646 \ u5bb6 \ u5634 \ u8857 \ u9053 \ u4e16 \ u7eaa \ u5927 \ u9053100 \ u53f7 \ u73af \ u7403 \ u91d1 \ u878d \ u4e2d \ u5fc323 \ u697c similar to these characters, converted to Shanghai pudong new area in Shanghai world financial center, 100 century avenue, lujiazui street 23 floor

CodePudding user response:

This special conversion function
Pb9 function, you can change again, should use the
\ u4e0a
This is the hexadecimal, in converted to decimal, then char () into Chinese characters
4 e0a
Transformation of 19978

Char (19978)
Is' on '
  • Related