[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Encoding while parsing
> -----Original Message----- > From Pramodh Peddi > > Hi, > This not specific to just xsl. It is concerned to xml Processors. > I hate to say it, but in that case you're asking your question on the wrong list... However, > 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. http://www.jdom.org/docs/apidocs/org/jdom/output/XMLOutputter.html 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
|