xsl-list
[Top] [All Lists]

Re: [xsl] text extraction

2006-10-12 08:40:32
Andrew Welch wrote:
On 10/12/06, mus47(_at_)voila(_dot_)fr <mus47(_at_)voila(_dot_)fr> wrote:
And also I want to now how can the output file encoding setted to iso8859-1 instead of utf8.
I use the xsltproc tool.

You can set the output encoding using <xsl:output/>

But it is not guaranteed that the processor supports anything different from UTF-8/UTF-16.

Also note, the first 127 codepoints when encoded as ISO-8859-1 or UTF-8 are exactly equal. Only ISO 128 (sometimes euro sign, but you may see something different: €) and above are treated differently.

Note that ISO-8859-1 is an order of magnitude smaller then UTF-8, so you may end up with missing or replaced characters (not sure what they will be replaced with though, when they don't exist) in the output stream.

-- Abel Braaksma
http://www.nuntia.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>