如何获得Unicode 编码
4f 60 59 7d是“你好”的 Unicode 编码;
为何我下面的代码得到的不是这个值啊?
unsigned char buf[256];
UnicodeString Str="";
Str="你好";
strcat(buf,Str.t_str());
Index+=Str.Length();
我得到的buf里面的值不是unicode编码,
请问怎么得到Unicode码
发布时间: 2013-07-04 11:45:44 作者: rapoo
如何获得Unicode 编码
4f 60 59 7d是“你好”的 Unicode 编码;
为何我下面的代码得到的不是这个值啊?
unsigned char buf[256];
UnicodeString Str="";
Str="你好";
strcat(buf,Str.t_str());
Index+=Str.Length();
我得到的buf里面的值不是unicode编码,
请问怎么得到Unicode码