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

Re: UTF-8 BOM

  • From: David Brownell <david-b@p...>
  • To: Tim Bray <tbray@t...>, Rob Lugt <roblugt@e...>,Michael Brennan <Michael_Brennan@a...>, xml-dev@l...
  • Date: Tue, 03 Jul 2001 19:49:50 -0700

utf 8 bom
||  == David Brownell
|   == Michael Brennan
|
|| it fits with the other backwards-problematic stuff
|| in Blueberry ... though it's a "new feature" that's encoding-specific.
| 
| Except that a UTF-8 BOM isn't really a new feature; it's just one that all
| too many implementors overlook.

It's a new feature added by E105, in the last batch of "errata" before the
2nd edition spec was published.  That was called a "clarification", but it
seems to me like a substantive change ... previously, BOM was discussed
exclusively (!!) in the UTF-16 context.  Though as Rob Lugt pointed out,
the relevant normative text (4.3.3) is unchanged.

That part of E105 sure seem like it matches the "Blueberry" goals
of aligning with Unicode, not "2nd edition" goals of removing (not
adding :) ambiguity.


>    == Tim Bray
> 
> Actually, I think that the UTF-8 BOM is a deeply stupid idea that
> serves no useful purpose in any imaginable universe.

That's where I'm coming from.  UTF-8 is the default encoding, and
the only way un-MIME-typed data would NOT be in UTF-8 is if
it has a UTF-16 BOM, or an XML (or text) declaration.  This change
wasn't necessary; thrashing infrastructure is bad (unless maybe you're
a company needing a stick to force customers to buy new software :).


>      We wouldn't
> be thinking about were it not for the fact that MS Notepad happens
> to write one for UTF-8 documents.

So what's the next desired erratum ... somewhere in 4.3.3, it should
get updated to say that "for interoperability" any (real) UTF may have
a BOM?  Whereas right now it only says that UTF-16 "must" have
one, and requires otherwise that xml (or text) decls must appear
"at the beginning" (that is, where such a BOM could now be)?

- Dave



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.