How to convert from ansi to unicode

Login to reply to this topic.
Mon, 2005-08-08 10:51
Joined: 2005-08-04
Forum posts: 8
TUint8 a[]={193,247,196,234,0};
TBuf8<4> b(a);
TBuf<2> c;
CnvUtfConverter::ConvertToUnicodeFromUtf8(c,b);
c is supposed to be "流年",it's value are 27969,24180
but is not,the value it contain are 65533,65533
Funtion ConvertToUnicodeFromUtf do not work,how can I convert ansi to unicode?
Thank you!
  • Login to reply to this topic.