W3C home > Mailing lists > Public > www-international@w3.org > April to June 2000

Re: BOM & Unicode editors

From: Chris Lilley <chris@w3.org>
Date: Wed, 10 May 2000 10:43:46 +0200
Message-ID: <39192142.64FF8A6D@w3.org>
To: Asmus Freytag <asmusf@ix.netcom.com>
CC: Saba Sundaramurthy <ssundaramurthy@verisign.com>, mozilla-i18n@mozilla.org, www-international@w3.org, i18n-prog@acoin.com

Asmus Freytag wrote:
> At 04:55 PM 5/9/00 -0700, Saba Sundaramurthy wrote:
> >     Is this something all editors that save files in Unicode or UTF-8 are
> >required to do? Can I depend on the presence of this marker in my code?
> No, it's not a requirement, but it's a convention followed by quite a few
> tools,
> because otherwise it's harder to use the same .txt extension for both ASCII and
> Unicode (and also it helps to mark the byte order, of course).

This is all fine and well for UTF-16, but what about UTF-8 ? why does the
byte order matter?

> I would recommend that you look for it in your code, if you plan to read UTF-16
> files. 

And for UTF-8 files?

Received on Wednesday, 10 May 2000 04:44:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:19 UTC