|
-
December 21st, 2005, 09:41 AM
#5
Re: Conversion Problem In Multi Byte to Wide Char
Hi,
Thanks for the time devoted by u...Still I have the same prob..
can u have a look once again..
I tried this by replacing the fifth parameter to 200, as well as, the second option by taking length of input string +1, but in both the cases output was not there.
what I did is , after calling the function MultiByteToWideChar..I did as follows
tstring strPrefix.assign(_T("&#x"));//For Unicode (as I have to make a html string from input)
tstring strInterMed;
strInterMed.assign(strPrefix);
strInterMed.append(szUnicodeBuffer);
strInterMed.append(_T(";"));
The Variable szUnicodeBuffer must have the correct output.
here are the my inputs for a chineese character
say:
from Input RTF I got \'87\'BF .This is message for a single character.
I parsed it and got the input string as
strFirstMsg contains 87
strSecondMsg contains BF;
Regs
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
|
Click Here to Expand Forum to Full Width
|