xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mannion, Enda" <enda.mann...@hp.com>
Subject RE: Reading UNICODE string
Date Thu, 10 Aug 2006 18:24:39 GMT
Sorry for my lack of xerces knowledge but how do I transcode to UTF-8?

Enda

-----Original Message-----
From: David Bertoni [mailto:dbertoni@apache.org] 
Sent: 10 August 2006 19:21
To: c-dev@xerces.apache.org
Subject: Re: Reading UNICODE string

Mannion, Enda wrote:
> Thanks Again Axel,
> 
> Can you suggest a solution to me so I can read and write as Unicode?
> 

Why don't you just write the UTF-16 data into the file?  As long as you
are 
reading and writing the data on a single platform, or you remember
whether 
it's big-endian or little-endian, it should work.

If you want an encoding that's more compatible with non-Unicode 
applications, then you can transcode to UTF-8.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Mime
View raw message