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

Hi,

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.


Regards,

Kasimier Buchcik

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