Code
Ways of writing that hide nothing by design — bases, bits, binary formats, floats, Unicode, Roman numerals, timestamps, coordinates, check digits — read and written both ways.
Character Map
A searchable table of the 128 ASCII codes (decimal, hex, the control characters’ names), and an inspector that gives each character of a text its code point, UTF-8 bytes, general category, script and block from the Unicode Character Database, version 17, naming the characters that show nothing. ASCII was first published as ASA X3.4-1963; UTF-8, specified in RFC 3629, keeps ASCII as single bytes.
Terms
History, how it works, how it was checked, limits
History
ASCII, the American Standard Code for Information Interchange, was first published as ASA X3.4-1963. Of its 128 codes the first 32 and the last, 127, are control codes. The Unicode Standard groups its far larger set of code points in named blocks, and gives each a script and a general category in the Unicode Character Database. UTF-8, specified in RFC 3629 (2003), encodes every code point in one to four bytes and keeps ASCII’s 128 as single bytes.
How it works
Two tabs. ASCII Table lists the 128 codes with their decimal and hex values, the control codes and the space by their abbreviations and names (ESC, escape); the search matches a decimal value from its start, a hex value, a character, an abbreviation or a name. Unicode Inspector lists a text code point by code point, a character beyond U+FFFF counted once, with its U+ number, its UTF-8 bytes, its general category, its script and its block, each looked up in the Database’s own lists (version 17.0.0: 346 blocks, 176 scripts, 30 categories). A character that shows nothing, a control or a zero-width or direction mark, is named. The first 120 characters are listed. The character the stepper reaches is drawn bit by bit into its UTF-8 bytes, the marks UTF-8 sets shaded, the code point’s bits over the places they fill. Text sent from another tool opens in the Inspector.
How it was checked
The lists are generated from the Database’s files by scripts/build-unicode-data.mjs, and the tests pin their size, order and ends. The blocks an earlier hand-made table had wrong are pinned (Cyrillic Supplement, Sinhala, Braille Patterns, Mongolian, Greek Extended), with ten scripts, nine general categories and the names of the characters that show nothing; the UTF-8 bytes are the shared encoder’s (U+1F600 is F0 9F 98 80). The table’s search is checked by name, decimal, hex and character. The drawing gives RFC 3629’s four examples (§7) byte for byte; at every edge of §3’s ranges its places hold the code point.
The tests hold 49 checks of this tool; 9 rest on outside material, the first eight here:
- A standard’s own vectors Unicode data: version 17, its blocks in order and without overlap
- A standard’s own vectors RFC 3629 §7: A≢Α. is 41 E2 89 A2 CE 91 2E
- A standard’s own vectors RFC 3629 §7: 한국어 is ED 95 9C EA B5 AD EC 96 B4
- A standard’s own vectors RFC 3629 §7: 日本語 is E6 97 A5 E6 9C AC E8 AA 9E
- A standard’s own vectors RFC 3629 §7: the BOM and U+233B4 are EF BB BF F0 A3 8E B4
- A standard’s own vectors RFC 3629 §3: the marks of one, two, three and four bytes
- A standard’s own vectors At every edge of RFC 3629 §3’s ranges the places left hold the code point, and the row above writes it there
- A print’s own example Chronograms: Hilton’s examples give his years, p. 2 (1628), p. 3 (1630, W as VV), p. 6 (1620, 1658), p. xiii (1632) and his printer’s 1882
The other 1, and every tool’s checks
Limits
Characters have no names here beyond the controls and those that show nothing: the Database’s list of names is not carried. An emoji sequence is split into its code points, and a letter with combining marks into its parts. Only the first 120 characters of a text are listed. The table is ASCII’s 128 codes, not the 8-bit sets built on it.
- IEEE History Center, “Milestones: American Standard Code for Information Interchange ASCII, 1963”
- RFC 3629, UTF-8, a transformation format of ISO 10646 (2003)
- The Unicode Standard, Version 17.0: the Unicode Character Database (Blocks.txt, PropertyValueAliases.txt, NameAliases.txt, and the script and general category of each character)