W3C home > Mailing lists > Public > www-international@w3.org > April to June 2014

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 27 Jun 2014 07:59:03 +0000
To: www-international@w3.org
Message-ID: <bug-23646-4285-EtgopWEods@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23646

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.

Jirka

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:05 UTC