This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: SAXON and UTF-8
Michael Kay wrote at 27 Sep 2001 17:27:51 +0100:
> My reading of the XML spec is that it expects to find BOM only in UTF-16
> files. I can't see any total prohibition of a BOM in a UTF-8 file, but the
> spec certainly seems to assume that they won't occur. If anyone thinks
> otherwise, I'd like to see evidence from the XML specification, which is the
> only definitive source.
You are required to have the BOM with UTF-16, but there's nothing that
says that you can't have a BOM with UTF-8.
Appendix F in XML 1.0 2ed provides an example of the UTF-8 BOM.
Regards,
Tony Graham
------------------------------------------------------------------------
XML Technology Center - Dublin mailto:tony.graham@ireland.sun.com
Sun Microsystems Ireland Ltd Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3 x(70)19708
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list