summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorAli Ahmet Memiş <aliamemis@disroot.org>2026-09-09 15:10:25 +0300
committerChristian Brauner <brauner@kernel.org>2026-09-25 16:04:53 +0200
commit8e17b922aff03487816b467ddd871f5440d57e14 (patch)
treeed905363c267e7a7a8d89bfc48c372ff8222ceae /tools/lib/python/kdoc/python_version.py
parent31580f1196353e08157ee8dad586ce10c4c4174f (diff)
downloadlinux-next-8e17b922aff03487816b467ddd871f5440d57e14.tar.gz
linux-next-8e17b922aff03487816b467ddd871f5440d57e14.zip
nls: fix the Unicode to charset tables of iso8859-14
page01 and page1e in nls_iso8859-14.c are identical, so the U+01xx table is incorrectly replaced by the U+1Exx table. Both are used by page_uni2charset, causing uni2char() to map 29 code points to the wrong bytes. charset2uni() is unaffected and matches the Unicode 8859-14 mapping. For example: U+010A -> 0xa6 -> U+1E0A U+010B -> 0xab -> U+1E0B U+1E20 -> 0xb2 -> U+0120 22 code points that are not part of ISO 8859-14 are also incorrectly accepted instead of being rejected. Regenerate page01 and page1e from charset2uni. glibc iconv agrees with the resulting mappings, and a full BMP round trip is now lossless. Signed-off-by: Ali Ahmet Memiş <aliamemis@disroot.org> Link: https://patch.msgid.link/20260909121032.76647-1-aliamemis@disroot.org Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions