Discussion Board
Converting char* to TBuf16????
2002-06-02, 03:57
#1
Super Contributor
Hi,
I'm actually porting an ER5 code to Crystal6. I was able to convert char* variable to TBuf8 in ER5 easily by typecasting it to TUint8*.
But in 9210 I'm not able to convert a char* pointer to TBuf16. I'm unable get the UNICODE character set either.
Can anybody help me by sending the code for converting char* to TBuf16? or tell me where I can find the character set?
Thanks in advance.
Posted by Rajesh K, stranger_jonty@yahoo.com
on March 26, 2002 at 11:19
RE: Converting char* to TBuf16????
2002-06-02, 03:58
#2
Super Contributor
Posted by Forum Nokia Developer Support, communicator.developer@nokia.com
on March 26, 2002 at 12:09
Hi,
First cast the char* then use ConvertToUnicode() from the class CCnvCharacterSetConverter. You can find more information about the class from the SDK's Help.
Regards,
FN Developer Support
Re: Converting char* to TBuf16????
2008-04-10, 23:32
#3
Registered User
I have a question for anyone and everyone .. Its a simple problem what is the correct syntax to type cast a Tbuff to a Tint..
PLEASE HELP
Re: Converting char* to TBuf16????
2008-04-11, 11:14
#4
Nokia Developer Moderator
Search for TLex, basically anywhere (SDK Help, Wiki, Discussion Boards).
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules