Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 5448df58 | 2023-05-29 13:59:43 | GB18030: Help transitioning away from PUA code points. * lib/gb18030ext.h (gb18030_2005_ext_wctomb): Remove function. (gb18030ext_wctomb): Renamed from gb18030_2022_ext_wctomb. * lib/gb18030uni.h (gb18030_2005_uni_wctomb): Map 6 Ext-B code points to 4-bytes sequences. (gb18030_2022_uni_wctomb): Small refactoring. * lib/gb18030_2005.h (gb18030_2005_pua2charset): Map 6 PUA code points to 4-bytes sequences instead of 2-bytes sequences. (gb18030_2005_wctomb): Update accordingly. Invoke gb18030ext_wctomb instead of gb18030_2005_ext_wctomb. * lib/gb18030_2022.h (gb18030_2022_wctomb): Invoke gb18030ext_wctomb instead of gb18030_2022_ext_wctomb. * tests/GB18030-2005.IRREVERSIBLE.TXT: Update the inverse mappings of 6 Ext-B code points and 6 PUA code points. * NEWS: Mention it. | ||
| 6549d20c | 2023-05-21 00: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. | ||
| 91f96be0 | 2021-06-06 11:51:12 | Change the license of the library from LGPL 2.0 to LGPL 2.1. | ||
| 3acb1179 | 2020-04-04 14:58:34 | Change the license of the library from LGPL 2.0 to LGPL 2.1. | ||
| e54fc9c1 | 2018-09-17 18:28:56 | Prefer https URLs where possible. | ||
| 40924a62 | 2016-10-14 03:18:05 | Use 'size_t', not 'int', for the length of a string. | ||
| 8dfc4c81 | 2012-05-13 20:08:21 | Tweak the GB18030 converter to map 0x8135F437 to U+E7C7. | ||
| 48f31c74 | 2012-02-12 20:54:51 | Replace FSF snail-mail address with URL. | ||
| e08e610f | 2005-12-28 14:14:53 | Extend GB18030 converter to cover the entire Unicode PUA. | ||
| 45bd190c | 2005-05-19 17:14:19 | Update FSF postal address. | ||
| db94e408 | 2001-05-25 19:21:53 | Decouple the mbtowc and wctomb calling conventions. | ||
| e2566688 | 2001-05-21 12:27:24 | Handle unassigned Unicode code points as well. | ||
| ce4e3740 | 2001-03-20 20:30:41 | Add copyright notice. | ||
| 73c4e15c | 2001-02-22 16:45:40 | Change GB18030 table, taking glibc-2.2.2 as reference. | ||
| a615528b | 2000-11-23 19:54:07 | Move src/ to lib/, and install the iconv program. |