CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    Ottawa, Ont
    Posts
    120

    URGENT!!!!!!, Need hepl on UNICODE

    Hi! All hope everything is going good...

    Me? Well I have this little problem you see,
    I have to find the character value UNICODE style for characters with values greater than 255 or even special characters such as a with an acute accent.

    It's not as easy as you might think,
    if you can help me I would appreciate it greatly.

    If any one has a question about UNICODE I have been reseaching it extenevly for the past few weeks and I have come to learn quite a bit about it.

    Here is some code that I use the convert UNICODE to char:

    // _UNICODE define in the project settings.

    CString szCharCode;
    szCharCode = "0x010b";
    // 0x010b is represents small c with dot above.

    wchar_t wChar;
    wChar = wcstoul( szCharCode, NULL, 0);
    szDecodedChar = wChar;
    //szDecodedChar now holds the c dot above char.

    // some code to output the character.






  2. #2
    Join Date
    May 1999
    Location
    Ottawa, Ont
    Posts
    120

    URGENT!!!!!!, Need hepl on UNICODE

    Hi! All hope everything is going good...

    Me? Well I have this little problem you see,
    I have to find the character value UNICODE style for characters with values greater than 255 or even special characters such as a with an acute accent.

    It's not as easy as you might think,
    if you can help me I would appreciate it greatly.

    If any one has a question about UNICODE I have been reseaching it extenevly for the past few weeks and I have come to learn quite a bit about it.

    Here is some code that I use the convert UNICODE to char:

    // _UNICODE define in the project settings.

    CString szCharCode;
    szCharCode = "0x010b";
    // 0x010b is represents small c with dot above.

    wchar_t wChar;
    wChar = wcstoul( szCharCode, NULL, 0);
    szDecodedChar = wChar;
    //szDecodedChar now holds the c dot above char.

    // some code to output the character.






Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured