8000 gh-135995: Fix missing char in palmos encoding (#135990) · python/cpython@58a42de · GitHub
[go: up one dir, main page]

Skip to content

Commit 58a42de

Browse files
nkorthblurb-it[bot]brianschubertterryjreedy
authored
gh-135995: Fix missing char in palmos encoding (#135990)
0x8b correctly encodes to ‹, but 0x9b was mistakenly marked as a control character instead of ›. --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Brian Schubert <brianm.schubert@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
< 8000 /div>
1 parent 642e5df commit 58a42de

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/encodings/palmos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def getregentry():
201201
'\u02dc' # 0x98 -> SMALL TILDE
202202
'\u2122' # 0x99 -> TRADE MARK SIGN
203203
'\u0161' # 0x9A -> LATIN SMALL LETTER S WITH CARON
204-
'\x9b' # 0x9B -> <control>
204+
'\u203a' # 0x9B -> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
205205
'\u0153' # 0x9C -> LATIN SMALL LIGATURE OE
206206
'\x9d' # 0x9D -> <control>
207207
'\x9e' # 0x9E -> <control>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
In the palmos encoding, make byte ``0x9b`` decode to ```` (U+203A - SINGLE RIGHT-POINTING ANGLE QUOTATION MARK).

0 commit comments

Comments
 (0)
0