lib/encodings.def

Branch


Log

Author Commit Date CI Message
Bruno Haible 6549d20c 2023-05-21T00:29:37 Implement GB18030 version 2022. * lib/encodings.def (GB18030): Add alias GB18030:2005. (GB18030:2022): New encoding. * lib/gb18030ext.h (gb18030_2005_ext_2uni_pagefe): Renamed from gb18030ext_2uni_pagefe. (gb18030_2022_ext_2uni_pagefe): New array. (gb18030_2005_ext_mbtowc): Renamed from gb18030ext_mbtowc. (gb18030_2022_ext_mbtowc): New function. (gb18030_2005_ext_wctomb): Renamed from gb18030ext_wctomb. (gb18030_2022_ext_wctomb): New function. * lib/gb18030uni.h (gb18030_2022_charset2uni_pua1, gb18030_2022_charset2uni_pua2): New arrays. (gb18030_2005_uni_mbtowc): Renamed from gb18030uni_mbtowc. (gb18030_2022_uni_mbtowc): New function. (gb18030_2022_uni2charset_pua1, gb18030_2022_uni2charset_pua2): New arrays. (gb18030_2005_uni_wctomb): Renamed from gb18030uni_wctomb. (gb18030_2022_uni_wctomb): New function. * lib/gb18030_2005.h: Renamed from lib/gb18030.h. Update comments. (gb18030_2005_mbtowc): Renamed from gb18030_mbtowc. (gb18030_2005_pua2charset): Renamed from gb18030_pua2charset. (gb18030_2005_wctomb): Renamed from gb18030_wctomb. * lib/gb18030_2022.h: New file, based on lib/gb18030_2005.h. * lib/converters.h: Don't include gb18030.h. Include gb18030_2005.h, gb18030_2022.h. * lib/Makefile.in (SOURCE_FILES): Remove gb18030.h. Add gb18030_2005.h, gb18030_2022.h. * tests/GB18030-2005-BMP.TXT: Renamed from tests/GB18030-BMP.TXT. * tests/GB18030-2005.IRREVERSIBLE.TXT: Renamed from tests/GB18030.IRREVERSIBLE.TXT. * tests/GB18030-2022-BMP.TXT: New file. * tests/Makefile.in (check): Test GB18030:2005 instead of GB18030. Also test GB18030:2022. (clean): Don't remove GB18030.TXT. Instead, remove GB18030-2005.TXT and GB18030-2022.TXT. (SOURCE_FILES): Update. Add GB18030-2022-BMP.TXT. * README: Mention the new encoding. * man/iconv_open.3: Likewise. * NEWS: Likewise.
Bruno Haible 91f96be0 2021-06-06T11:51:12 Change the license of the library from LGPL 2.0 to LGPL 2.1.
Bruno Haible 3acb1179 2020-04-04T14:58:34 Change the license of the library from LGPL 2.0 to LGPL 2.1.
Bruno Haible e54fc9c1 2018-09-17T18:28:56 Prefer https URLs where possible.
Bruno Haible 48f31c74 2012-02-12T20:54:51 Replace FSF snail-mail address with URL.
Bruno Haible 3a33986e 2011-10-24T02:39:35 New encoding ISO-2022-CP-MS.
Bruno Haible e2f2024d 2011-10-23T18:47:31 Add comments about Windows names of encodings.
Bruno Haible fd7d5707 2010-11-24T03:33:29 Implement newer release of BIG5-HKSCS.
Bruno Haible 459ce580 2009-01-24T23:16:06 New converter for CP1131.
Bruno Haible bcb1081e 2008-04-06T07:38:02 Support system-dependent aliases.
Bruno Haible 614f279f 2007-05-25T23:41:00 Add support for the Kazakh RK1048 encoding.
Bruno Haible 7edefe50 2006-05-18T12:48:00 Implement newer releases of BIG5-HKSCS.
Bruno Haible 05a280da 2005-12-15T12:43:45 CP936 is now different from GBK.
Bruno Haible 04459d83 2005-07-04T11:33:54 Add comments about Windows codepage numbers.
Bruno Haible 45bd190c 2005-05-19T17:14:19 Update FSF postal address.
Bruno Haible 9341db94 2005-05-06T11:04:28 Support for PT154 encoding.
Bruno Haible e6c475ab 2004-07-22T12:50:01 New revision of ISO-8859-7.
Bruno Haible 7736228d 2004-07-22T12:49:09 New encoding ISO-8859-11.
Bruno Haible 8e98d3c9 2003-06-16T12:15:08 Update aliases according to current IANA character sets list.
Bruno Haible 411b8e57 2003-04-24T10:49:10 Better support for FreeBSD.
Bruno Haible ed9ef091 2002-05-29T14:11:14 New encoding C99.
Bruno Haible 33057762 2002-05-13T10:03:19 Add KOI8-T encoding.
Bruno Haible 48223460 2001-06-25T12:07:43 Change canonical name of BIG5HKSCS to BIG5-HKSCS. Change canonical name of SJIS to SHIFT_JIS.
Bruno Haible 19bb4fef 2001-05-26T00:31:46 The multibyte to Unicode conversion may now be stateful. Add Unicode normalization to multibyte to Unicode direction for CP1255, CP1258, TCVN.
Bruno Haible 15ed5719 2001-06-06T18:37:41 Align with IANA charset registry.
Bruno Haible f20d6eed 2001-05-21T12:33:36 Add comments: glibc now implements the X11 encoding names.
Bruno Haible e91c0ce3 2001-04-12T12:55:41 Add UTF-32 encodings.
Bruno Haible d5ac1c2b 2001-03-20T20:35:46 Update copyright notice.
Bruno Haible 06aa1274 2001-01-05T13:52:21 Add support for CP862.
Bruno Haible a615528b 2000-11-23T19:54:07 Move src/ to lib/, and install the iconv program.