[Bug 23927] ASCII-incompatible encoder error handling

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23927

--- Comment #7 from Anne <annevk@annevk.nl> ---
Well, the question is whether the encoder needs to deal with lone surrogates or
whether lone surrogates need to be handled before the encoder is invoked. I
guess I could see the former make sense, but that would mean we need some
special rules for utf-8 and utf-16 as they should always emit the byte sequence
for U+FFFD for lone surrogates and never anything else.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 28 November 2013 12:38:26 UTC