xsl-list
[Top] [All Lists]

Re: [xsl] Challenges with unparsed-text() and reading UTF-8 file as UTF-16

2006-10-13 04:14:38
"Michael" == Michael Kay <mike(_at_)saxonica(_dot_)com> writes:

    Michael> operating systems without any reliable metadata (in fact,
    Michael> without any metadata at all). An implementation could
    Michael> interpret this rule as allowing "I know this file is on
    Michael> an AS400 and I know that on an AS400 the default file
    Michael> encoding is IBM-EBCDIC". But I would hope that this would
    Michael> be done under rule 4 (implementation-defined heuristics)
    Michael> rather than under rule 1 (external encoding information).

My thoughts are different - I believe that doing it under rule 1 is
the best way, and make up for the lack of decent O/S support for
metadata (OS/2 had it a decade ago!), by adding hooks so that the user
can supply the encoding information in some way.
-- 
Colin Adams
Preston Lancashire

--~------------------------------------------------------------------
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>
--~--