Re: [whatwg/encoding] Consider adding TextEncoder.containsLoneSurrogates() static (#174)

> I'm trying to say that if we want to support code point sequence as an input

Ah I think now I understand what you're trying to say - that right now `TextEncoder` is not even intended to support UTF-16 code points at all and that conversion to replacement chars is actually a side effect and not intended behaviour of the encoder itself?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/issues/174#issuecomment-478972264

Received on Tuesday, 2 April 2019 12:25:59 UTC