Documentation
¶
Overview ¶
Package codepage decodes and encodes the legacy character sets CyberChef supports, reproducing the codepage npm library it uses.
Charsets lists every character set in CyberChef's own order, each with the codepage number Decode and Encode take. The tables are compressed and embedded rather than generated at build time, since together they are large.
Reproducing codepage means reproducing where it departs from the standards: its US-ASCII maps every byte to the code point of the same value, and its UTF-8 does not replace an invalid sequence but reads it as the start of a longer one.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Charsets = []cpCharset{}/* 152 elements not displayed */
Charsets lists every CyberChef charset in CHR_ENC_CODE_PAGES order.
Functions ¶
Types ¶
This section is empty.