From ee357f3f192b956169a2ed6fba76abe69c23e24f Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Mon, 17 Jul 2017 10:49:43 +0200 Subject: [PATCH] Add "replacement" as label for the replacement encoding Tests: https://github.com/w3c/web-platform-tests/pull/6553. Fixes #70. --- encoding.bs | 6 +++++- encodings.json | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/encoding.bs b/encoding.bs index 80f5f04..3c0f05c 100644 --- a/encoding.bs +++ b/encoding.bs @@ -254,6 +254,9 @@ and their labels user agents must support. User agents must not support any other encodings or labels. +

For each encoding, ASCII-lowercasing its +name yields one of its labels. +

Authors must use the UTF-8 encoding and must use the ASCII case-insensitive "utf-8" label to identify it. @@ -582,12 +585,13 @@ prescribes, as that is found to be necessary to be compatible with deployed cont Legacy miscellaneous encodings - replacement + replacement "csiso2022kr" "hz-gb-2312" "iso-2022-cn" "iso-2022-cn-ext" "iso-2022-kr" + "replacement" UTF-16BE "utf-16be" diff --git a/encodings.json b/encodings.json index 4307b0c..941829a 100644 --- a/encodings.json +++ b/encodings.json @@ -426,7 +426,8 @@ "hz-gb-2312", "iso-2022-cn", "iso-2022-cn-ext", - "iso-2022-kr" + "iso-2022-kr", + "replacement" ], "name": "replacement" },