Braille ASCII

Braille ASCII (or more formally The North American Braille ASCII Code, also known as SimBraille) is a subset of the ASCII character set which uses 64 of the printable ASCII characters to represent all possible dot combinations in six-dot braille. It was developed around 1969 and, despite originally being known as North American Braille ASCII, it is now used internationally.

Overview
Braille ASCII uses the 64 ASCII characters between 32 and 95 inclusive. All capital letters in ASCII correspond to their equivalent values in uncontracted English Braille. Note however that, unlike standard print, there is only one braille symbol for each letter of the alphabet. Therefore, in Braille, all letters are lower-case by default, unless preceded by a capitalization sign ( dot 6).

The numbers 1 through 9 and 0 correspond to the letters a through j, except that they are lowered or shifted lower in the Braille cell. For example, dots 1-4 represents c, and  dots 2-5 is 3. The other symbols may or may not correspond to their Braille values. For example, dots 3-4 represents / in Braille ASCII, and this is the Braille slash, but  dots 1-2-3-4-5-6 represents =, and this is not the equals sign in Braille.

Braille ASCII more closely corresponds to the Nemeth Braille Code for mathematics than it does to the English Literary Braille Code, as the Nemeth Braille code is what it was originally based upon.

If Braille ASCII is viewed in a word processor, it will look like a jumbled mix of letters, numbers, and punctuation. However, there are several fonts available, many of them free, which allow the user to view and print Braille ASCII as simulated braille, i.e. a graphical representation of braille characters.

Uses
Braille ASCII was originally designed to be a means for storing and transmitting six-dot Braille in a digital format, and this continues to be its primary usage today. Because it uses standard characters available on computer keyboards, it can be easily typed and edited with a standard word processor. Many Braille embossers receive their input in Braille ASCII, and nearly all Braille translation software can import and export this format.

Most institutions which produce Braille materials distribute BRF files. BRF is a file that can represent contracted or uncontracted (i.e. grade 1 or grade 2) Unified English Braille, English Braille and non-English languages. BRF files contain plain Braille ASCII plus spaces, Carriage Return, Line Feed, and Form Feed ASCII control characters. The spaces, Carriage Returns, Line Feeds, and Form feeds are sufficient to specify how the Braille is formatted. Previously BRF contained some additional specialized formatting instructions, but now BRF is formatted exactly like Web-Braille/BARD. BRF files can be embossed with a braille embosser or printed, read on a refreshable braille display, or imperfectly back-translated into standard text  which can then be read by a screen reader or other similar program. Many find BRF files to be a more convenient way to receive brailled content, and it has increasing use as a distribution format. If a SimBraille font is downloaded and installed a BRF file can be opened in WordPad, Apache OpenOffice, Microsoft Word, Apple Pages, etc., and the Braille will appear correctly rendered as 2 dimensional, non-tactile, visual 6 dot braille characters when the font is set to SimBraille.

Unicode includes a means for encoding eight-dot braille; however, Braille ASCII continues to be the preferred format for encoding six-dot braille.

Braille ASCII values
The following table shows the arrangement of characters, with the hexadecimal value, corresponding ASCII character, binary notation matching the, Braille Unicode glyph, and general meaning (the actual meaning may change depending on context).

The following ASCII string literal (where the content enclosed by quotes contains the escape sequences  for a literal   and   for a literal  ) is the "ASCII glyph" column of the above table sorted according to reverse lexicographical order of its "Braille dots" column. It may be used to encode the above table. (Note that Unicode Braille characters are U+2800 through U+283F with their codepoints being in reverse lexicogrpahical order of the above table's "Braille dots" column.) " A1B'K2L@CIF/MSP\"E3H9O6R^DJG>NTQ,*5<-U8V.%[$+X!&;:4\\0Z7(_?W]#Y)="

Under the mapping derived from the above table, the "Braille glyph" column orders according to the above key as the following Unicode codepoint string literal (note that the first character is not an ASCII space but U+2800): "⠀⠁⠂⠃⠄⠅⠆⠇⠈⠉⠊⠋⠌⠍⠎⠏⠐⠑⠒⠓⠔⠕⠖⠗⠘⠙⠚⠛⠜⠝⠞⠟⠠⠡⠢⠣⠤⠥⠦⠧⠨⠩⠪⠫⠬⠭⠮⠯⠰⠱⠲⠳⠴⠵⠶⠷⠸⠹⠺⠻⠼⠽⠾⠿"

Unused ASCII values
Only 64 characters are needed to represent all possible combinations of 6-dot braille (including space), so not all ASCII values are needed for Braille ASCII.

The lower-case letters (a to z) are not normally used, but might be interpreted as having the same dot patterns as their upper-case equivalents. `, {, |, and } are not used and their Braille ASCII rendition is not defined.

Braille ASCII is merely a subset of the ASCII table that can be used to represent all possible combinations of 6-dot braille. It is not to be confused with the Computer Braille Code, which can represent all ASCII values in braille.