This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
encoding and XSL Transformation
- From: Earl Bingham <earl at righton dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 10 Sep 2002 04:46:37 -0700
- Subject: [xsl] encoding and XSL Transformation
- References: <5.1.0.14.2.20020910122255.07c60fa0@pop.cheathouse.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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