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

> if there are enough use cases where the action taken in the ill-formed case is something other than making the string well-formed

I think more often than not, it would be used to throw a validation error.

-- 
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-624645047

Received on Wednesday, 6 May 2020 13:21:23 UTC