Module cp437

Source
Expand description

CP437 to/from UTF-8

Structs§

CP437_TO_UTF8
An array of 256 elements, mapping most of the CP437 values to UTF-8 characters
UTF8_TO_CP437
A dictionary of 256 elements, mapping selected UTF-8 characters to corresponding CP437

Functions§

to_cp437
Apply UTF8_TO_CP437 to the given string
to_utf8
Apply CP437_TO_UTF8 to the given bytes