You must use an output encoding that can handle those characters. Internally the parser uses UTF-16, which can handle pretty much everything. But when you dump it back out, you must use an encoding which understands all of the characters you are going to output, or tell the formatter to generate character references for them (which is slower.) -------------- Dean Roddey Software Geek Extraordinaire Portal, Inc [EMAIL PROTECTED] -----Original Message----- From: Herve Mathonet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 03, 2001 2:10 AM To: [EMAIL PROTECTED] Subject: accentuated characters in CDATA section I've an XML file with a lot oh CDATA section. In these sections, there are a lot of accentuated characters because of the language I use is French. When I build the tree with the DOMParser, there is no problems but when i get the text contained in CDATA section, and when i display it whith the XMLFormatter, all the special Frenc characters are replace with others. Is there special parameters for XMLFormatter class to keep the right characters ? Thanks Herve Mathonet --------------------------------------------------------------------- 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]