- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 16 Apr 2025 02:36:30 -0700
- To: whatwg/encoding <encoding@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 16 April 2025 09:36:33 UTC
@annevk commented on this pull request. > @@ -732,6 +747,30 @@ part of the ISO 8859 series. In particular, the necessity of the inclusion of <a and <a>ISO-8859-16</a> is doubtful for the purpose of supporting existing content, but there are no plans to remove these.</p> +<div class=note id=note-latin1-ascii> + <p>The <a>windows-1252</a> <a for=/>encoding</a> has various <a for=encoding>labels</a> like + "<code>latin1</code>", "<code>iso-8859-1</code>", "<code>ascii</code>", etc. which have + historically been confusing for developers. On the web, and in any software that seeks to be + web-compatible by implementing the Encoding Standard, these are synonyms: "<code>latin1</code>" and + "<code>ascii</code>" are just labels for <a>windows-1252</a>, and any software following this + standard will, for example, decode 0x80 as U+20AC (€) when asked for the Latin1 or ASCII decoding + of that byte. Well, browsers typically have Latin1 or ASCII encoding implementations that don't do windows-1252. But obviously they also "Latin1" and "ascii" labels to windows-1252. So they're on both sides of the divide you're trying to draw. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/encoding/pull/345#discussion_r2046520590 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/encoding/pull/345/review/2771848291@github.com>
Received on Wednesday, 16 April 2025 09:36:33 UTC