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

Re: writeToString, write and, UTF-16[BE|LE] (was: "LSSerializer.writeToString - what encoding declaration?")

From: Steve Schafer <steve@fenestra.com>
Date: Wed, 04 Feb 2004 18:12:35 -0500
To: WWW DOM <www-dom@w3.org>
Message-ID: <opu2209di4di581hqm7bu0nnjluj145o61@4ax.com>

On Wed, 4 Feb 2004 17:26:46 -0500, jcowan@reutershealth.com wrote:

>Entities in the encodings "UTF-16BE" and "UTF-16LE" must not begin with
>a BOM, but must have an appropriate encoding declaration.

I can understand "should not" in this case, but I don't see a need for
"must not." If that's enforced, then parsers that don't understand the
"UTF-16LE" or "UTF16-BE" encoding declarations have little hope of
heuristically discovering the actual encoding.

-Steve Schafer
Fenestra Technologies Corp
http://www.fenestra.com/
Received on Wednesday, 4 February 2004 18:12:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:57 GMT