|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Encoding while parsing
> -----Original Message----- > From Andreas L. Delmelle > > > -----Original Message----- > > From Pramodh Peddi > > > > I am using JDOM API for xml processing. The xml string had > "windows-1252" > > encoding and it supports special characters like "registered mark", > > "copyright", etc. The document is built fine, but the document > has UTF-8, > > because the parser (xerces/crimsons) is changing the encoding from > > Windows-1252 to UTF-8. > > Check the API docs for JDOM, namely the XMLOutputter Object, and you will > notice that it provides the setEncoding() method, which I would > expect to be > used for explicitly setting the output encoding of the XML Document. > Sorry, I seem to have read this wrong. Your problem is obviously with the xerces/crimson parsers. (my mistake) So, as a hint: try browsing the xerces or crimson list archives for strings like 'output encoding'. It would surprise me if you were actually the first to have a problem/question like this... Again, my excuses for misreading your question (surely didn't want to waste your time). Greetz, Andreas XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








