|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: encoding and XSL Transformation
If you ask for UTF-8 encoding you will get UTF-8 encoding, and of course it will look like a garbled mess if you then display it using software that can't display UTF-8. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Earl Bingham > Sent: 10 September 2002 12:47 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: encoding and XSL Transformation > > > > I'm having some trouble using the Xalan 2 Java parser for > parsing some XML > files I have that include non-ASCII characters. In which I > have characters > like right-tik ? left-tik long dash, etc. When I use Xalan UTF-8 > encoding, it will make these characters into garbeled mess, > like Â$(A for right tick ,etc. > When I use james clark's xt parser. It will transform these > characters > nicely. Converting them to their hex representation ’ > > The SAX2SAX.java example provided with Xalan doesn't do too much help > either. In which it seems like it will always output a > supposed 'UTF-8' > format even though I change the <xsl:output > encoding="ISO-8859-1'/> etc. > > Does anyone know how to get the Xalan parser to properly > transform these > characters to their proper hex value? > > Thanks, > > Earl Bingham > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > 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








