This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Encodings
- To: xsl-list at mulberrytech dot com
- Subject: Re: Encodings
- From: Mike Brown <mike at skew dot org>
- Date: Wed, 12 Jul 2000 10:59:55 -0600 (MDT)
- Reply-To: xsl-list at mulberrytech dot com
George Prezerakos (ETG) wrote:
> I have XML and XSL files that contain Greek characters encoded in iso-8859-7. If I define the output method as xml, is there a stylesheet processor that
> produces output in iso-8859-7 ?
>
> All that I have found on the Internet up to know is processors that create output encoded in UTF-8 (I haven't tried the Oracle one though).
If you have an XML parser that will read iso-8859-7, you only need to
worry about converting the output from the XSLT processor. If this is the
case, I'd suggest using Free Recode to post-process the XML ... Something
like 'recode u8..l7 <in.xml >out.xml'. And then you also have to change
the XML declaration to <?xml version="1.0" encoding="iso-8859-7"?>
A similar process could be used if you can't parse iso-8859-7 on the way
into the XSLT processor. Change the prolog to say utf-8 and run the
document through recode l7..u8.
Free Recode can be found at
http://www.iro.umontreal.ca/contrib/recode/HTML/index.html
- Mike
____________________________________________________________________
Mike J. Brown, software engineer at My XML/XSL resources:
webb.net in Denver, Colorado, USA http://www.skew.org/xml/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list