Skip to main content

Module codepage

Module codepage 

Source
Expand description

The code pages behind CTerm’s built-in fonts (IDs 1-31): what a byte in one is as Unicode, and back, for typing, pasting and copying text when the BBS shows its screen in one of them. Bytes below 0x80 are ASCII in all of them. Generated from Python’s codec tables; haik8 (7), ARMSCII-8 (15) and CP1131 (31) aren’t among them, and stay CP437.

Structs§

CodePage
A code page’s upper half: the character each byte 0x80-0xFF is.

Functions§

for_font
The code page a CTerm font ID shows, if BadTerm knows it.