From 2f1b14fd08ddb6b42ad539d53b3a70b5a7105864 Mon Sep 17 00:00:00 2001 From: Henri Sivonen Date: Thu, 19 Sep 2024 09:11:59 +0300 Subject: [PATCH] Regenerate data for GB18030-2022 (tests fail) --- generate-encoding-data.py | 5 +-- src/data.rs | 57 +++++++++++++++++++++------ src/lib.rs | 31 +++++++++++++++ src/test_data/big5_in.txt | 3 +- src/test_data/big5_in_ref.txt | 3 +- src/test_data/big5_out.txt | 3 +- src/test_data/big5_out_ref.txt | 3 +- src/test_data/euc_kr_in.txt | 3 +- src/test_data/euc_kr_in_ref.txt | 3 +- src/test_data/euc_kr_out.txt | 3 +- src/test_data/euc_kr_out_ref.txt | 3 +- src/test_data/gb18030_in.txt | 3 +- src/test_data/gb18030_in_ref.txt | 39 +++++++++--------- src/test_data/gb18030_out.txt | 39 +++++++++--------- src/test_data/gb18030_out_ref.txt | 3 +- src/test_data/iso_2022_jp_in.txt | 3 +- src/test_data/iso_2022_jp_in_ref.txt | 3 +- src/test_data/iso_2022_jp_out.txt | 3 +- src/test_data/iso_2022_jp_out_ref.txt | 3 +- src/test_data/jis0208_in.txt | 3 +- src/test_data/jis0208_in_ref.txt | 3 +- src/test_data/jis0208_out.txt | 3 +- src/test_data/jis0208_out_ref.txt | 3 +- src/test_data/jis0212_in.txt | 3 +- src/test_data/jis0212_in_ref.txt | 3 +- src/test_data/shift_jis_in.txt | 3 +- src/test_data/shift_jis_in_ref.txt | 3 +- src/test_data/shift_jis_out.txt | 3 +- src/test_data/shift_jis_out_ref.txt | 3 +- 29 files changed, 139 insertions(+), 104 deletions(-) diff --git a/generate-encoding-data.py b/generate-encoding-data.py index 99cec1ad..8f4ac875 100644 --- a/generate-encoding-data.py +++ b/generate-encoding-data.py @@ -15,7 +15,7 @@ import os.path if (not os.path.isfile("../encoding/encodings.json")) or (not os.path.isfile("../encoding/indexes.json")): - sys.stderr.write("This script needs a clone of https://github.com/whatwg/encoding/ (preferably at revision f381389) next to the encoding_rs directory.\n"); + sys.stderr.write("This script needs a clone of https://github.com/whatwg/encoding/ next to the encoding_rs directory.\n"); sys.exit(-1) if not os.path.isfile("../encoding_c/src/lib.rs"): @@ -1612,8 +1612,7 @@ def write_variant_method(name, mut, arg_list, ret, variants, excludes, kind): # Unit tests -TEST_HEADER = '''Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +TEST_HEADER = '''Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/data.rs b/src/data.rs index c1ae89e1..db4f07f5 100644 --- a/src/data.rs +++ b/src/data.rs @@ -7,6 +7,37 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// The above license applies to code in this file. The data in this +// file is generated from WHATWG's indexes.json, which came under +// the following license: + +// Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// 1. Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// 3. Neither the name of the copyright holder nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + // BEGIN GENERATED CODE. PLEASE DO NOT EDIT. // Instead, please regenerate using generate-encoding-data.py @@ -88061,13 +88092,13 @@ pub static GBK_OTHER_UNSORTED_OFFSETS: [u16; 59] = [ pub static GBK_BOTTOM: [u16; 101] = [ 0xF92C, 0xF979, 0xF995, 0xF9E7, 0xF9F1, 0xFA0C, 0xFA0D, 0xFA0E, 0xFA0F, 0xFA11, 0xFA13, 0xFA14, 0xFA18, 0xFA1F, 0xFA20, 0xFA21, 0xFA23, 0xFA24, 0xFA27, 0xFA28, 0xFA29, 0x2E81, 0xE816, 0xE817, - 0xE818, 0x2E84, 0x3473, 0x3447, 0x2E88, 0x2E8B, 0xE81E, 0x359E, 0x361A, 0x360E, 0x2E8C, 0x2E97, - 0x396E, 0x3918, 0xE826, 0x39CF, 0x39DF, 0x3A73, 0x39D0, 0xE82B, 0xE82C, 0x3B4E, 0x3C6E, 0x3CE0, - 0x2EA7, 0xE831, 0xE832, 0x2EAA, 0x4056, 0x415F, 0x2EAE, 0x4337, 0x2EB3, 0x2EB6, 0x2EB7, 0xE83B, - 0x43B1, 0x43AC, 0x2EBB, 0x43DD, 0x44D6, 0x4661, 0x464C, 0xE843, 0x4723, 0x4729, 0x477C, 0x478D, + 0xE818, 0x2E84, 0x3473, 0x3447, 0x2E88, 0x2E8B, 0x9FB4, 0x359E, 0x361A, 0x360E, 0x2E8C, 0x2E97, + 0x396E, 0x3918, 0x9FB5, 0x39CF, 0x39DF, 0x3A73, 0x39D0, 0x9FB6, 0x9FB7, 0x3B4E, 0x3C6E, 0x3CE0, + 0x2EA7, 0xE831, 0x9FB8, 0x2EAA, 0x4056, 0x415F, 0x2EAE, 0x4337, 0x2EB3, 0x2EB6, 0x2EB7, 0xE83B, + 0x43B1, 0x43AC, 0x2EBB, 0x43DD, 0x44D6, 0x4661, 0x464C, 0x9FB9, 0x4723, 0x4729, 0x477C, 0x478D, 0x2ECA, 0x4947, 0x497A, 0x497D, 0x4982, 0x4983, 0x4985, 0x4986, 0x499F, 0x499B, 0x49B7, 0x49B6, - 0xE854, 0xE855, 0x4CA3, 0x4C9F, 0x4CA0, 0x4CA1, 0x4C77, 0x4CA2, 0x4D13, 0x4D14, 0x4D15, 0x4D16, - 0x4D17, 0x4D18, 0x4D19, 0x4DAE, 0xE864, + 0x9FBA, 0xE855, 0x4CA3, 0x4C9F, 0x4CA0, 0x4CA1, 0x4C77, 0x4CA2, 0x4D13, 0x4D14, 0x4D15, 0x4D16, + 0x4D17, 0x4D18, 0x4D19, 0x4DAE, 0x9FBB, ]; pub static GB2312_HANZI: [u16; 6768] = [ @@ -88650,7 +88681,7 @@ pub static GB2312_SYMBOLS: [u16; 94] = [ pub static GB2312_SYMBOLS_AFTER_GREEK: [u16; 22] = [ 0xFE35, 0xFE36, 0xFE39, 0xFE3A, 0xFE3F, 0xFE40, 0xFE3D, 0xFE3E, 0xFE41, 0xFE42, 0xFE43, 0xFE44, - 0xE794, 0xE795, 0xFE3B, 0xFE3C, 0xFE37, 0xFE38, 0xFE31, 0xE796, 0xFE33, 0xFE34, + 0xFE17, 0xFE18, 0xFE3B, 0xFE3C, 0xFE37, 0xFE38, 0xFE31, 0xFE19, 0xFE33, 0xFE34, ]; pub static GB2312_PINYIN: [u16; 32] = [ @@ -88659,18 +88690,18 @@ pub static GB2312_PINYIN: [u16; 32] = [ 0x00FC, 0x00EA, 0x0251, 0x1E3F, 0x0144, 0x0148, 0x01F9, 0x0261, ]; -pub static GB2312_OTHER_POINTERS: [u16; 44] = [ +pub static GB2312_OTHER_POINTERS: [u16; 47] = [ 0x0000, 0x000A, 0x0010, 0x0024, 0x0038, 0x0042, 0x0043, 0x0044, 0x004E, 0x0050, 0x005C, 0x005E, 0x0061, 0x0062, 0x00BB, 0x00BC, 0x010F, 0x011A, 0x0170, 0x0178, 0x0189, 0x0190, 0x0198, 0x01A9, - 0x01B0, 0x01B7, 0x01CD, 0x01D6, 0x01DC, 0x01DD, 0x01F7, 0x0206, 0x020C, 0x020D, 0x0227, 0x0234, - 0x0254, 0x0258, 0x027D, 0x0292, 0x0295, 0x02E1, 0x02F0, 0x0524, + 0x01B0, 0x01B1, 0x01B2, 0x01B3, 0x01B7, 0x01CD, 0x01D6, 0x01DC, 0x01DD, 0x01F7, 0x0206, 0x020C, + 0x020D, 0x0227, 0x0234, 0x0254, 0x0258, 0x027D, 0x0292, 0x0295, 0x02E1, 0x02F0, 0x0524, ]; -pub static GB2312_OTHER_UNSORTED_OFFSETS: [u16; 43] = [ +pub static GB2312_OTHER_UNSORTED_OFFSETS: [u16; 46] = [ 0x2170, 0xE766, 0x2488, 0x2474, 0x2460, 0x20AC, 0xE76D, 0x3220, 0xE76E, 0x2160, 0xE770, 0xFF01, 0xFFE5, 0xFF05, 0xFFE3, 0x3041, 0xE772, 0x30A1, 0xE77D, 0x0391, 0x03A3, 0xE785, 0x03B1, 0x03C3, - 0xE78D, 0x0000, 0xE797, 0x0410, 0x0401, 0x0416, 0xE7A0, 0x0430, 0x0451, 0x0436, 0xE7AF, 0x0000, - 0xE7C9, 0x3105, 0xE7CD, 0xE7FE, 0x2500, 0xE801, 0xE000, + 0xFE10, 0xFE12, 0xFE11, 0xFE13, 0x0000, 0xE797, 0x0410, 0x0401, 0x0416, 0xE7A0, 0x0430, 0x0451, + 0x0436, 0xE7AF, 0x0000, 0xE7C9, 0x3105, 0xE7CD, 0xE7FE, 0x2500, 0xE801, 0xE000, ]; pub static GB18030_RANGE_POINTERS: [u16; 206] = [ diff --git a/src/lib.rs b/src/lib.rs index 1faf02e6..b708b704 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,6 +7,37 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// The above license applies to code in this file. The label data in +// this file is generated from WHATWG's encodings.json, which came under +// the following license: + +// Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// 1. Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// 3. Neither the name of the copyright holder nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + #![cfg_attr( feature = "cargo-clippy", allow(doc_markdown, inline_always, new_ret_no_self) diff --git a/src/test_data/big5_in.txt b/src/test_data/big5_in.txt index 564f9f6a..d5e1f9bc 100644 --- a/src/test_data/big5_in.txt +++ b/src/test_data/big5_in.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/big5_in_ref.txt b/src/test_data/big5_in_ref.txt index 06eac731..30f080b7 100644 --- a/src/test_data/big5_in_ref.txt +++ b/src/test_data/big5_in_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/big5_out.txt b/src/test_data/big5_out.txt index 142b833c..403a07c1 100644 --- a/src/test_data/big5_out.txt +++ b/src/test_data/big5_out.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/big5_out_ref.txt b/src/test_data/big5_out_ref.txt index bf741afb..ee853f21 100644 --- a/src/test_data/big5_out_ref.txt +++ b/src/test_data/big5_out_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/euc_kr_in.txt b/src/test_data/euc_kr_in.txt index 88cb355a..0f429e7b 100644 --- a/src/test_data/euc_kr_in.txt +++ b/src/test_data/euc_kr_in.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/euc_kr_in_ref.txt b/src/test_data/euc_kr_in_ref.txt index 24867df2..116e8593 100644 --- a/src/test_data/euc_kr_in_ref.txt +++ b/src/test_data/euc_kr_in_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/euc_kr_out.txt b/src/test_data/euc_kr_out.txt index 9f30be6e..3b023126 100644 --- a/src/test_data/euc_kr_out.txt +++ b/src/test_data/euc_kr_out.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/euc_kr_out_ref.txt b/src/test_data/euc_kr_out_ref.txt index bd886e0d..a11cb323 100644 --- a/src/test_data/euc_kr_out_ref.txt +++ b/src/test_data/euc_kr_out_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/gb18030_in.txt b/src/test_data/gb18030_in.txt index a5293a98..2fb7d00e 100644 --- a/src/test_data/gb18030_in.txt +++ b/src/test_data/gb18030_in.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/gb18030_in_ref.txt b/src/test_data/gb18030_in_ref.txt index bf9188dd..30e68454 100644 --- a/src/test_data/gb18030_in_ref.txt +++ b/src/test_data/gb18030_in_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py @@ -7185,13 +7184,13 @@ Instead, please regenerate using generate-encoding-data.py χ ψ ω - - - - - - - +︐ +︒ +︑ +︓ +︔ +︕ +︖ ︵ ︶ ︹ @@ -7204,14 +7203,14 @@ Instead, please regenerate using generate-encoding-data.py ﹂ ﹃ ﹄ - - +︗ +︘ ︻ ︼ ︷ ︸ ︱ - +︙ ︳ ︴  @@ -23778,7 +23777,7 @@ Instead, please regenerate using generate-encoding-data.py 㑇 ⺈ ⺋ - +龴 㖞 㘚 㘎 @@ -23786,19 +23785,19 @@ Instead, please regenerate using generate-encoding-data.py ⺗ 㥮 㤘 - +龵 㧏 㧟 㩳 㧐 - - +龶 +龷 㭎 㱮 㳠 ⺧  - +龸 ⺪ 䁖 䅟 @@ -23815,7 +23814,7 @@ Instead, please regenerate using generate-encoding-data.py 䓖 䙡 䙌 - +龹 䜣 䜩 䝼 @@ -23832,7 +23831,7 @@ Instead, please regenerate using generate-encoding-data.py 䦛 䦷 䦶 - +龺  䲣 䲟 @@ -23848,7 +23847,7 @@ Instead, please regenerate using generate-encoding-data.py 䴘 䴙 䶮 - +龻    diff --git a/src/test_data/gb18030_out.txt b/src/test_data/gb18030_out.txt index 72d5e48e..68264ca1 100644 --- a/src/test_data/gb18030_out.txt +++ b/src/test_data/gb18030_out.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py @@ -7184,13 +7183,13 @@ Instead, please regenerate using generate-encoding-data.py χ ψ ω - - - - - - - +︐ +︒ +︑ +︓ +︔ +︕ +︖ ︵ ︶ ︹ @@ -7203,14 +7202,14 @@ Instead, please regenerate using generate-encoding-data.py ﹂ ﹃ ﹄ - - +︗ +︘ ︻ ︼ ︷ ︸ ︱ - +︙ ︳ ︴  @@ -23777,7 +23776,7 @@ Instead, please regenerate using generate-encoding-data.py 㑇 ⺈ ⺋ - +龴 㖞 㘚 㘎 @@ -23785,19 +23784,19 @@ Instead, please regenerate using generate-encoding-data.py ⺗ 㥮 㤘 - +龵 㧏 㧟 㩳 㧐 - - +龶 +龷 㭎 㱮 㳠 ⺧  - +龸 ⺪ 䁖 䅟 @@ -23814,7 +23813,7 @@ Instead, please regenerate using generate-encoding-data.py 䓖 䙡 䙌 - +龹 䜣 䜩 䝼 @@ -23831,7 +23830,7 @@ Instead, please regenerate using generate-encoding-data.py 䦛 䦷 䦶 - +龺  䲣 䲟 @@ -23847,7 +23846,7 @@ Instead, please regenerate using generate-encoding-data.py 䴘 䴙 䶮 - +龻    diff --git a/src/test_data/gb18030_out_ref.txt b/src/test_data/gb18030_out_ref.txt index eab1cf0f..820e7cd9 100644 --- a/src/test_data/gb18030_out_ref.txt +++ b/src/test_data/gb18030_out_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/iso_2022_jp_in.txt b/src/test_data/iso_2022_jp_in.txt index 78d0beff..58d3e52b 100644 --- a/src/test_data/iso_2022_jp_in.txt +++ b/src/test_data/iso_2022_jp_in.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/iso_2022_jp_in_ref.txt b/src/test_data/iso_2022_jp_in_ref.txt index ef1f7407..51cc6900 100644 --- a/src/test_data/iso_2022_jp_in_ref.txt +++ b/src/test_data/iso_2022_jp_in_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/iso_2022_jp_out.txt b/src/test_data/iso_2022_jp_out.txt index 577dc4d2..73f9b6ff 100644 --- a/src/test_data/iso_2022_jp_out.txt +++ b/src/test_data/iso_2022_jp_out.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/iso_2022_jp_out_ref.txt b/src/test_data/iso_2022_jp_out_ref.txt index e0685529..fc6753b6 100644 --- a/src/test_data/iso_2022_jp_out_ref.txt +++ b/src/test_data/iso_2022_jp_out_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/jis0208_in.txt b/src/test_data/jis0208_in.txt index a38f7a4c..c39b0503 100644 --- a/src/test_data/jis0208_in.txt +++ b/src/test_data/jis0208_in.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/jis0208_in_ref.txt b/src/test_data/jis0208_in_ref.txt index ef1f7407..51cc6900 100644 --- a/src/test_data/jis0208_in_ref.txt +++ b/src/test_data/jis0208_in_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/jis0208_out.txt b/src/test_data/jis0208_out.txt index 76e34647..87727fc8 100644 --- a/src/test_data/jis0208_out.txt +++ b/src/test_data/jis0208_out.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/jis0208_out_ref.txt b/src/test_data/jis0208_out_ref.txt index 42d167a8..86ec39ce 100644 --- a/src/test_data/jis0208_out_ref.txt +++ b/src/test_data/jis0208_out_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/jis0212_in.txt b/src/test_data/jis0212_in.txt index b144707b..8ee54fc1 100644 --- a/src/test_data/jis0212_in.txt +++ b/src/test_data/jis0212_in.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/jis0212_in_ref.txt b/src/test_data/jis0212_in_ref.txt index 09a72e28..afbbf090 100644 --- a/src/test_data/jis0212_in_ref.txt +++ b/src/test_data/jis0212_in_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/shift_jis_in.txt b/src/test_data/shift_jis_in.txt index cee6bb57..3b9d7c36 100644 --- a/src/test_data/shift_jis_in.txt +++ b/src/test_data/shift_jis_in.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/shift_jis_in_ref.txt b/src/test_data/shift_jis_in_ref.txt index 19ae14cb..19570a3b 100644 --- a/src/test_data/shift_jis_in_ref.txt +++ b/src/test_data/shift_jis_in_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/shift_jis_out.txt b/src/test_data/shift_jis_out.txt index 383584b0..fd13adca 100644 --- a/src/test_data/shift_jis_out.txt +++ b/src/test_data/shift_jis_out.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py diff --git a/src/test_data/shift_jis_out_ref.txt b/src/test_data/shift_jis_out_ref.txt index 25bce72e..33c12d21 100644 --- a/src/test_data/shift_jis_out_ref.txt +++ b/src/test_data/shift_jis_out_ref.txt @@ -1,5 +1,4 @@ -Any copyright to the test code below this comment is dedicated to the -Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ +Generated from WHATWG indexes.json; see LICENSE-WHATWG. This is a generated file. Please do not edit. Instead, please regenerate using generate-encoding-data.py