Subject: Re: [xsl] question with xalan, java, utf8 From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Fri, 19 Apr 2002 22:37:55 +0200 |
...FileWriter output = new FileWriter("/tmp/testlog"); StreamResult result = new StreamResult(output);
The resulting output has garbled UTF-8 characters.
I am under the impression that java.io.FileWrite will change the character encoding to "the native encoding of the platform".
Simply use java.io.File instead. This allows the Saxon serializer to do the encoding itself and write the resulting bytes directly into the file.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] question with xalan, java, ut, Gail Buffington | Thread | RE: [xsl] question with xalan, java, Michael Kay |
Re: [xsl] Schema Exploration..., Mark Diggory | Date | Re: [xsl] <xsl:for-each>, J.Pietschmann |
Month |