This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Win98 iso-8859-1 - UTF-8 problem
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 30 Nov 2001 10:11:12 -0000
- Subject: RE: [xsl] Win98 iso-8859-1 - UTF-8 problem
- Reply-to: xsl-list at lists dot mulberrytech dot com
> When I try to transform a xml-document, which contains german
> umlaute to
> html (or another xml-file) the xsl-processor automatically
> transforms the
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>
> to
> <?xml version="1.0" encoding="UTF-8"?>
>
> but with bad output of the umlaute;
> like ä ö ü
>
> I get an error if I try to use encoding="UTF-8" from the beginning.
>
> What should I do; is there a special ansi-encoding?
If you want to look at the output file using an editor that can't display
UTF-8 correctly on your screen, then use <xsl:output
encoding="iso-8859-1"/>.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list