[whatwg] Encoding: API

Anne van Kesteren annevk at annevk.nl
Thu Oct 18 01:54:55 PDT 2012


On Thu, Oct 18, 2012 at 10:49 AM, Anne van Kesteren <annevk at annevk.nl> wrote:
>   http://encoding.spec.whatwg.org/#api

Btw, I changed these things:

* TextDecoder.decode()'s view argument is no longer optional. Why should it be?
* TextEncoder.encode()'s input argument is no longer nullable. Again,
why should it be?

I also raised the issue of whether TextEncoder should really support
utf-16/utf-16be as the encoding standard tries to deprecate non-utf-8
encodings.


-- 
http://annevankesteren.nl/



More information about the whatwg mailing list