Re: [encoding] Consider removing TextEncoder support for UTF-16 (#18)

@peteroupc : Good question! Not directly but https://www.chromestatus.com/metrics/feature/timeline/popularity/429 shows the usage of the TextEncoder constructor itself at ~0.0004% of page loads. (So 3 orders of magnitude higher.)

That'd be UTF-8 + UTF-16 + any calls into the constructor that throw due to unsupported encodings. I'm assuming the failure #s due to unsupported encodings are low. https://www.chromestatus.com/metrics/feature/timeline/popularity/430 shows the actual number of calls to `encode()` at 0.0001% of page loads, which puts a lower bound on the successful construction calls. (4x constructions vs. usage calls is a bit odd)

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/issues/18#issuecomment-164918346

Received on Tuesday, 15 December 2015 23:03:44 UTC