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 17:09:42 GMT
Axel,

I don't understand, if I can write this Unicode character then why can I not read it.

Enda


Original Message
----------------

I am able to write a unicode character to my XML file but I am unable to read it.

I read using this code and xmlval = ""

n = node->getFirstChild()->getNodeValue();
xmlval = xercesc::XMLString::transcode(n);      


If the character(s) written are not Unicode there are no problems.



-----Original Message-----
From: Axel WeiƟ [mailto:aweiss@informatik.hu-berlin.de] 
Sent: 10 August 2006 18:04
To: c-dev@xerces.apache.org
Cc: Mannion, Enda
Subject: Re: Reading UNICODE string

Mannion, Enda wrote:
> If the character(s) written are not Unicode there are no problems.

Mannion,

if the character has no representation in your local codepage, you cannot 
transcode it.

HTH,
			Axel

---------------------------------------------------------------------
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