[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: 8bit ascii encoding

Subject: Re: 8bit ascii encoding
From: Michael Fuller <msf@xxxxxxxxxxxxxxx>
Date: Mon, 26 Aug 2002 10:08:48 +1000
bom ascii
On Fri, Aug 23, 2002 at 10:58:18AM +0100, David Carlisle wrote:
> > Do you think that the BOM is going to be affected by this,
> Yes BOM is a utf16 thing (to tell whether you are big or little
> endian). So if the file is or is not utf16 you should or should not get
> a BOM at the beginning.

But (and hopefully I'm not clouding the issue by saying this :-)
don't forget that it's legal (but uncommon?) for UTF-8 encoded data
to be prefaced by a UTF-8 encoded BOM.

That is, a UTF-8 encoded entity MAY start with
the three byte sequence 0xEF, 0xBB, 0xBF.

(Obviously the BOM doesn't convey any useful byte order information,
because each UTF-8 code units is a single byte, but may be present.)

Michael

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.