Subject: Re: [xsl] Pound sign encoding issue From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 4 Aug 2003 15:52:11 +0100 |
> Does anybody know of a way of fixing the source or fixing the problem > with a XSLT? The problem isn't with your source or your XSLT. You are outputting the file in utf8 encoding (which is the default for XML, and supported by every XML application) But you are reading the file in a system set up for latin 1 encoding. So your problem is with whatever software you are using to read the file, if it claims to be an XMl system it ought to have defaulted to utf8 and done the right thing, if it's a general text editor you may need to manually switch it to that encoding. Alternatively you could put <xsl:output encoding="iso-8859-1"/> in your xsl stylesheet and output as latin 1. this will make the file work in your system but it is less portable as XML systems are not forced to support latin 1. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Pound sign encoding issue, Matt Trimmer | Thread | RE: [xsl] Pound sign encoding issue, Michael Kay |
Re: [xsl] Need to wrap XML in <![CD, David Carlisle | Date | Re: [xsl] Need to wrap XML in <![CD, David Carlisle |
Month |