Basic mapping of cp437 bytes to UTF and back.
Data.Text.CP437
offers mapping that maps control characters to control characters.Data.Text.CP437.Graphical
maps control characters to old school pictures like♪
.
Given a string of text, produce a bytestring containing valid CP-437 encoded data.
If any UTF symbols are used that occur in CP437 they will be translated.
Given a ByteString that is encoded with CP-437, will decode to a UTF Text, with all symbols converted.
Convert a single unicode character to a CP-437 byte.
Convert a single byte into a unicode character.