From 172d338f9f4fc4e1010181026032510748420793 Mon Sep 17 00:00:00 2001 From: Andreu Botella Botella Date: Mon, 16 Mar 2020 14:47:09 +0100 Subject: [PATCH 1/4] [encoding] Tests for BOM detection. --- encoding/bom-handling.html | 28 ++++++++++++++++++++++++++++ encoding/bom-handling.html.headers | 1 + 2 files changed, 29 insertions(+) create mode 100644 encoding/bom-handling.html create mode 100644 encoding/bom-handling.html.headers diff --git a/encoding/bom-handling.html b/encoding/bom-handling.html new file mode 100644 index 00000000000000..1b0b638de3f696 --- /dev/null +++ b/encoding/bom-handling.html @@ -0,0 +1,28 @@ + + + + + +BOM handling +
+
これは文字実験です。
+ \ No newline at end of file diff --git a/encoding/bom-handling.html.headers b/encoding/bom-handling.html.headers new file mode 100644 index 00000000000000..cec0ca1e177602 --- /dev/null +++ b/encoding/bom-handling.html.headers @@ -0,0 +1 @@ +Content-Type: text/html; charset=windows-1252 \ No newline at end of file From 01cf6733448e15bcf64b12a498f62cab630c312c Mon Sep 17 00:00:00 2001 From: Andreu Botella Botella Date: Tue, 17 Mar 2020 05:51:19 +0100 Subject: [PATCH 2/4] Clarifying that the BOM is a UTF-8 BOM. --- encoding/bom-handling.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoding/bom-handling.html b/encoding/bom-handling.html index 1b0b638de3f696..4b5eb97d9dcaf1 100644 --- a/encoding/bom-handling.html +++ b/encoding/bom-handling.html @@ -1,4 +1,4 @@ - + From e1c054eac3c3e4809ccd1d19a67ec1bbbf20c91e Mon Sep 17 00:00:00 2001 From: Andreu Botella Date: Wed, 18 Mar 2020 14:31:44 +0100 Subject: [PATCH 3/4] Adding newlines at the end of files. Applying suggestions from code review. Co-Authored-By: Anne van Kesteren --- encoding/bom-handling.html | 2 +- encoding/bom-handling.html.headers | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/encoding/bom-handling.html b/encoding/bom-handling.html index 4b5eb97d9dcaf1..742b61c1e93b29 100644 --- a/encoding/bom-handling.html +++ b/encoding/bom-handling.html @@ -25,4 +25,4 @@ "document.characterSet should match the BOM" ); - \ No newline at end of file + diff --git a/encoding/bom-handling.html.headers b/encoding/bom-handling.html.headers index cec0ca1e177602..2340a89c93ce45 100644 --- a/encoding/bom-handling.html.headers +++ b/encoding/bom-handling.html.headers @@ -1 +1 @@ -Content-Type: text/html; charset=windows-1252 \ No newline at end of file +Content-Type: text/html; charset=windows-1252 From d1debad509195a2e786c4bcfe0a7c66a228217e4 Mon Sep 17 00:00:00 2001 From: Andreu Botella Botella Date: Thu, 19 Mar 2020 11:43:08 +0100 Subject: [PATCH 4/4] Don't test for decoding. --- encoding/bom-handling.html | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/encoding/bom-handling.html b/encoding/bom-handling.html index 742b61c1e93b29..ea70d362546ed0 100644 --- a/encoding/bom-handling.html +++ b/encoding/bom-handling.html @@ -5,19 +5,8 @@ BOM handling
-
これは文字実験です。