W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2004

"Re: write and UTF-16[BE|LE]"

From: Kasimier Buchcik <kbuchcik@4commerce.de>
Date: Thu, 05 Feb 2004 15:02:45 +0100
To: <www-dom@w3.org>
Message-ID: <40224D05.8020909@4commerce.de>


on 2/5/2004 2:29 PM Kasimier Buchcik wrote:

>>On Wed, 2004-02-04 at 17:26, jcowan@reutershealth.com wrote:

>>>That means that entities encoded in the encoding named "UTF-16" must begin
>>>with a BOM.  Entities in the encodings "UTF-16BE" and "UTF-16LE" must not
>>>begin with a BOM, but must have an appropriate encoding declaration.
> Yes, I think so.

This is true if you mean that a BOM must not be existent if the document 
is labelled "UTF-16LE" or "UTF-16BE", and thus aready serialized. IOW if 
you want to serialize a little-endian encoded entity you are free to 
declare "UTF-16" and use a BOM *o*r declare "UTF-16LE" and ommit a BOM.


Kasimier Buchcik
Received on Thursday, 5 February 2004 08:58:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:12 UTC