Hi

>
>When you say get it back, what do you mean? If you transcode it then you will only be able see characters which are in your local code page. Other characters will seem "corrupt".

I mean retrieve string from the in-memory DOM tree, and dump it to a trace file. I see that the data is corrupt. Where as my original string when dumped to trace file is as is, when i view the trace file.

The impression i get is the data is getting corrupted when either it is transcoded or when it is added to DOM tree. Since if it had not been corrupt, I should have been able to retrieve it from DOM tree.
As i said this only happens in case of Windows with default locale as Japanese.

>>
>>
>>// ***********my code snippet******************
>>// mystring (having the unicode characters)
>
>What type is mystring? What unicode characters does it have in?

    mystring is of type string(c++ string class)
It has following unicode characters which are causing problem
ï¿®     (Unicode 0xffee)
鷗     (Unicode 0x9dd7)




>IE understands UTF8, that does not mean your console or whatever you are using to debug does. If you are saying that you can write the file and view it as expected what is wrong exactly?

Here I didnt mean writing to XML file. I mean manually (writing)copying the data set in txt file and manually saving it in utf-8 format.
Sorry for confusion.



>
>-- Gareth Reakes, Managing Director          Embrace Mobile
>+44-1865-811197              http://www.embracemobile.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>



Reply via email to