|
Subject: Re: [xsl] Recognising Unicode in a CSV to XML transform From: "Marney Cotterill" <marney@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 30 May 2008 12:26:16 +1000 |
> The unparsed-text() and unparsed-text-available() functions take a
> second argument for the encoding.
Brillant - Thanks Andrew.
I have added in the encoding argument and it can now recognise my CSV.
Lines I have amended:
<xsl:when test="unparsed-text-available($pathToCSV, 'iso-8859-1')">
<xsl:variable name="csv" select="unparsed-text($pathToCSV, 'iso-8859-
1')"/>
One last small problem - it is converting the i character to C).
Am i using the correct encoding value? Or do I have to also insert a transform()
somewhere to deal with this?
All your help has been fabulous!
Marney
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Recognising Unicode in a , Andrew Welch | Thread | RE: [xsl] Recognising Unicode in a , Michael Kay |
| Re: [xsl] how to assign part of an , David Carlisle | Date | [no subject], Unknown |
| Month |