From 479f5074a97e6258f9f1abc92f2e6014c8ab1f84 Mon Sep 17 00:00:00 2001 From: Nathan Korth Date: Thu, 26 Jun 2025 10:31:16 -0400 Subject: [PATCH 1/6] Fix missing char in palmos encoding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 0x8b correctly encodes to ‹, but 0x9b was mistakenly marked as a control character instead of ›. --- Lib/encodings/palmos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/encodings/palmos.py b/Lib/encodings/palmos.py index c506d654523496..df164ca5b9549c 100644 --- a/Lib/encodings/palmos.py +++ b/Lib/encodings/palmos.py @@ -201,7 +201,7 @@ def getregentry(): '\u02dc' # 0x98 -> SMALL TILDE '\u2122' # 0x99 -> TRADE MARK SIGN '\u0161' # 0x9A -> LATIN SMALL LETTER S WITH CARON - '\x9b' # 0x9B -> + '\u203a' # 0x9B -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK '\u0153' # 0x9C -> LATIN SMALL LIGATURE OE '\x9d' # 0x9D -> '\x9e' # 0x9E -> From 5f7c8b314f726eb5e10eba581d524d0cef6cb4bd Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Thu, 26 Jun 2025 17:28:50 +0000 Subject: [PATCH 2/6] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst diff --git a/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst b/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst new file mode 100644 index 00000000000000..dda6224e759942 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst @@ -0,0 +1 @@ +Fix missing `›` char in palmos encoding. From 71663a68add10c76847b85ef96c5b0eba44dd674 Mon Sep 17 00:00:00 2001 From: Nathan Korth Date: Thu, 26 Jun 2025 13:38:42 -0400 Subject: [PATCH 3/6] Update 2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst --- .../next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst b/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst index dda6224e759942..c06035bf8c2b72 100644 --- a/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst +++ b/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst @@ -1 +1 @@ -Fix missing `›` char in palmos encoding. +Fix missing ``›`` char in palmos encoding. From 0e8ff2cfb05fe1912e756a842e4e6f97fe8473af Mon Sep 17 00:00:00 2001 From: Nathan Korth Date: Thu, 26 Jun 2025 13:51:33 -0400 Subject: [PATCH 4/6] Update Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst Co-authored-by: Brian Schubert --- .../Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst b/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst index c06035bf8c2b72..4ecbf433e16478 100644 --- a/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst +++ b/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst @@ -1 +1,2 @@ -Fix missing ``›`` char in palmos encoding. +:mod:`codecs`: The byte `0x9b` now correctly decodes to `›` (U+203A - SINGLE +RIGHT-POINTING ANGLE QUOTATION MARK) when using the palmos encoding. From f29fb391d118e7cdd2a9e77628c17942680cbe98 Mon Sep 17 00:00:00 2001 From: Nathan Korth Date: Thu, 26 Jun 2025 13:53:07 -0400 Subject: [PATCH 5/6] Update Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst Co-authored-by: Brian Schubert --- .../next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst b/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst index 4ecbf433e16478..1e153508c62ff8 100644 --- a/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst +++ b/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst @@ -1,2 +1,2 @@ -:mod:`codecs`: The byte `0x9b` now correctly decodes to `›` (U+203A - SINGLE +:mod:`codecs`: The byte ``0x9b`` now correctly decodes to ``›`` (U+203A - SINGLE RIGHT-POINTING ANGLE QUOTATION MARK) when using the palmos encoding. From 8addeac7ed474b72369632809e638f5888146bb8 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Thu, 26 Jun 2025 17:01:46 -0400 Subject: [PATCH 6/6] Update Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst --- .../Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst b/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst index 1e153508c62ff8..998b3cd85b1d5d 100644 --- a/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst +++ b/Misc/NEWS.d/next/Library/2025-06-26-17-28-49.gh-issue-135995.pPrDCt.rst @@ -1,2 +1 @@ -:mod:`codecs`: The byte ``0x9b`` now correctly decodes to ``›`` (U+203A - SINGLE -RIGHT-POINTING ANGLE QUOTATION MARK) when using the palmos encoding. +In the palmos encoding, make byte ``0x9b`` decode to ``›`` (U+203A - SINGLE RIGHT-POINTING ANGLE QUOTATION MARK).