×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    Converting char* to TBuf16????

    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

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    RE: Converting char* to TBuf16????

    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

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    3

    Re: Converting char* to TBuf16????

    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

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: Converting char* to TBuf16????

    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
  •  
×