xsl-list
[Top] [All Lists]

RE: UTF-8 to ASCII encoding problem

2005-05-19 08:52:10

On the Windows platform this works fine, but on the Linux platform, it
generates the sequence EF BF BD which I think represent the 
fact that it
couldn't recognize the pound sign.

No, this looks to me like a byte-order-mark encoded in UTF-8. 

There's a lot of confusion about whether BOMs at the start of a UTF-8 file
are allowed or not, but the sad reality is that some system produce them,
others don't, some recognize them, others don't.

XSLT 2.0 gives you control in xsl:output as to whether to output a BOM or
not.

Michael Kay
http://www.saxonica.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>