Thanks Again Axel, Can you suggest a solution to me so I can read and write as Unicode?
Enda -----Original Message----- From: Axel Weiß [mailto:[EMAIL PROTECTED] Sent: 10 August 2006 18:51 To: [email protected] Subject: Re: Reading UNICODE string Mannion, Enda wrote: > I don't understand, if I can write this Unicode character then why can I > not read it. Enda, (sorry, overlooked the comma) I didn't argue about reading, but about transcoding. After reading, the character is hold in XMLCh, the utf-16 representation required by the standards. If this character has a representation in the local (libc) encoding, xercesc::XMLString::transcode delivers the local representation. > I read using this code and xmlval = "" > > n = node->getFirstChild()->getNodeValue(); > xmlval = xercesc::XMLString::transcode(n); Did you check the value of 'n'? HTH, Axel --------------------------------------------------------------------- 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]
