First I had a simple transcode and wrote that string to a CFile object.
The hiragana characters I inserted for testing vanished, or were replaced
by question marks.

The solution I have now writes multi-byte character sequences into my CFile,
and notepad shows me the correct hiragana glyphs - given I set the font to
Arial Unicode MS.

You can check whether your notepad supports unicode with the File/Save As
dialog. There should be a field to set the desired encoding.

Hiran

> -----Original Message-----
> From: Gareth Reakes 
> [mailto:[EMAIL PROTECTED] Behalf
> Of Gareth Reakes
> Sent: Wednesday, March 24, 2004 10:59 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Encapsulation of XMLCh* string
> 
> 
> Hi,
> 
> > What I did to serialize a string containing unicode (such 
> that it can be
> > saved to a text file that can be interpreted with notepad 
> using UTF-8)
> > was to create a text node and serialize that using the 
> Xerces serializer.
> >
> 
> Does notepad support UTF 8 now? Or are you saying that you 
> transcode to
> UTF 8 and it works because you only use the latin part of the 
> alphabet?
> 
> Gareth
> 
> 
> -- 
> Gareth Reakes, Managing Director            +44-1865-811184
> Parthenon Computing                http://www.parthcomp.com
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to