User Profile

Collapse

Profile Sidebar

Collapse
Prasad1980
Prasad1980
Last Activity: Sep 12 '12, 12:42 AM
Joined: Aug 6 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Prasad1980
    replied to char * to wchar_t * conversion
    in C
    Thanks weaknessforcats for your reply.

    I am on Linux unfortunately. I don;t know about the magic behind L"" it works only for static strings. It works for me. But I wanted something dynamic. I have framed the string look like sequence of hex strings. If I put under L and declare it statically it works. I see the characters (unicode) if pass it thru string without L"" it doesn't work. is there way I can do it Lin...
    See more | Go to post

    Leave a comment:


  • Prasad1980
    started a topic char * to wchar_t * conversion
    in C

    char * to wchar_t * conversion

    Hi all,

    I am new to this form. I am developing an application where
    I need to parse the below oracle line and extract the
    UNISTR('\9091\0 908\090A'abc\90 9B') the unicodes(utf16 codes) out of it and convert all to utf8 multi bytes.
    The problem I am facing is :

    1. I have the char *string. I have prefixed \x to each of the unicode in the above line.
    like
    string [i] = '//';...
    See more | Go to post
No activity results to display
Show More
Working...