Fix encoding so all special characters can be sent #2

Open
opened 2025-06-02 18:04:22 +02:00 by stb · 0 comments
Owner

The CPython standard encoding for CP437 is missing a bunch of characters, or mis-encoding some of them, compared to the Wikipedia table. Create a custom encoder to fix this.

See upstream https://github.com/CatoLynx/pyFIS/issues/5

The CPython standard encoding [for CP437](https://github.com/python/cpython/blob/main/Lib/encodings/cp437.py) is missing a bunch of characters, or mis-encoding some of them, compared to the [Wikipedia table](https://en.wikipedia.org/wiki/Code_page_437). Create a [custom encoder](https://docs.python.org/3/library/codecs.html#standard-encodings) to fix this. See upstream https://github.com/CatoLynx/pyFIS/issues/5
Sign in to join this conversation.
No labels
animation
bug
feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: CCCHH/buba#2
No description provided.