[whatwg/encoding] 7-bit ASCII encoding (Issue #287)

I couldn't find any encoding that only decodes ASCII bytes (i.e. 0x00-0x7F), and am slightly surprised that "ascii" maps to windows-1252.

Would it still make sense to add an encoding like "7bit" which only supports encoding/decoding 7-bit ASCII characters? The intended use case would be decoding data that is expected to be 7-bit ASCII, likely typically used with fatal=true.




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

Message ID: <whatwg/encoding/issues/287@github.com>

Received on Wednesday, 8 June 2022 00:30:09 UTC