Subject: Re: [xsl] Re: XML/XHTML fragment to text From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Thu, 16 Aug 2007 16:42:52 +0200 |
One attribute on xsl:output causes problems always, as far as I could tell, which is the following:
* byte-order-mark
When you use it together with UTF-8 it will offset the amount by one. This is because the byte order mark (xFEFF), when interpreted as a string, will be translated into the equivalent string representation in UTF-8, which is the byte sequence xEFBBBF, now representing the codepoint 65279 (U+FEFF) (Zero Width No Break Space, deprecated but allowed). This interpretation is in lieu of the Unicode recommendation. It is useless to put a BOM at the beginning of a UTF-8 stream, so it is best to avoid it.
Cheers, -- Abel Braaksma
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: XML/XHTML fragment to, Abel Braaksma | Thread | [xsl] Re: XML/XHTML fragment to tex, Alain |
RE: [xsl] Unexpected Results with f, Angela Williams | Date | RE: [xsl] Unexpected Results with f, Michael Kay |
Month |