[Bug 23646] "us-ascii" should not be an alias for "windows-1252"


Jirka Kosek <jirka@kosek.cz> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
                 CC|                            |jirka@kosek.cz
         Resolution|WONTFIX                     |---

--- Comment #7 from Jirka Kosek <jirka@kosek.cz> ---
The trouble is that Encoding spec defines algorithms both for encoding and
decoding. For decoding it's completely reasonable to treat "us-ascii" as an
alias for "windows-1252". However when you encode text using "us-ascii"
encoding any character outside U+0000-U+007F must be replaced, escaped (in HTML
mode) or it's an error.

So either "us-ascii" must be handled separately (at least for encoding
purposes) or Encoding spec should be changed to talk about decoding only.


You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 27 June 2014 07:59:05 UTC