W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] Handling of illegal byte-sequences (typically in UTF-8)

From: Řistein E. Andersen <html5@xn--istein-9xa.com>
Date: Sat, 25 Nov 2006 03:08:19 +0100
Message-ID: <E1Gnmxn-0001L0-00@ws7.ou-data.net>
On 24 Nov 2006, at 10:33AM, Henri Sivonen wrote:
>
> On Nov 24, 2006, at 04:11, ??istein E. Andersen wrote:
>>
>> Section 8.1.4:
>>> Bytes [->] U+FFFD
>>
>> Section 9.2.2:
>>> Bytes or sequences of bytes [->] U+FFFD
>
> I'm inclined to think that interop[erability] in error situations doesn't need to go as
> deep as defining how many replacement characters [...] a [...] decoder has to emit.

I agree. The current slight inconsistency should probably be amended by
making section 8.1.4 more liberal rather than the other way round.

-- 
??istein E. Andersen
Received on Friday, 24 November 2006 18:08:19 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC