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

Øistein E. Andersen html5 at xn--istein-9xa.com
Fri Nov 24 18:08:19 PST 2006


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



More information about the whatwg mailing list