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.[1] 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.[2] [3] BRF files can be embossed with a Braille embosser or printed, read on a Refreshable Braille display, or imperfectly back-translated[4] into standard text [5] [6] 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.[7] If a SimBraille font [8] is downloaded and installed a BRF file can be opened in WordPad, Apache Open Office, 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, dot combinations, Braille Unicode glyph, and general meaning (the actual meaning may change depending on context).[9][10]

ASCII Hex ASCII Glyph Braille Dots Braille Glyph Unicode Braille Glyph Braille Meaning
20 (space) 000000 (space)
21 ! 011011 the
22 " 000100 (contraction)
23 # 010111 (number prefix)
24 $ 111001 ed
25 % 110001 sh
26 & 111011 and
27 ' 000010 '
28 ( 101111 of
29 ) 011111 with
2A * 100001 ch
2B + 010011 ing
2C , 000001 (uppercase prefix)
2D - 000011 -
2E . 010001 (italic prefix)
2F / 010010 st
30 0 000111
31 1 001000 ,
32 2 001010 ;
33 3 001100 :
34 4 001101 .
35 5 001001 en
36 6 001110 !
37 7 001111 ( or )
38 8 001011 “ or ?
39 9 000110 in
3A : 100101 wh
3B ; 000101 (letter prefix)
3C < 101001 gh
3D = 111111 for
3E > 010110 ar
3F ? 110101 th
 
ASCII Hex ASCII Glyph Braille Dots Braille Glyph Unicode Braille Glyph Braille Meaning
40 @ 010000 (accent prefix)
41 A 100000 a
42 B 101000 b
43 C 110000 c
44 D 110100 d
45 E 100100 e
46 F 111000 f
47 G 111100 g
48 H 101100 h
49 I 011000 i
4A J 011100 j
4B K 100010 k
4C L 101010 l
4D M 110010 m
4E N 110110 n
4F O 100110 o
50 P 111010 p
51 Q 111110 q
52 R 101110 r
53 S 011010 s
54 T 011110 t
55 U 100011 u
56 V 101011 v
57 W 011101 w
58 X 110011 x
59 Y 110111 y
5A Z 100111 z
5B [ 011001 ow
5C \ 101101 ou
5D ] 111101 er
5E ^ 010100 (currency prefix)
5F _ 010101 (contraction)

The following C string literal (which can also be used in Python and other programming languages that accept C string literals) is derived from the above table and gives the Braille ASCII mappings for Unicode Braille characters U+2800 through U+283F in order, starting with U+2800 at the start of the string:

" A1B'K2L@CIF/MSP\"E3H9O6R^DJG>NTQ,*5<-U8V.%[$+X!&;:4\\0Z7(_?W]#Y)="

It maps this Unicode string:

"⠀⠁⠂⠃⠄⠅⠆⠇⠈⠉⠊⠋⠌⠍⠎⠏⠐⠑⠒⠓⠔⠕⠖⠗⠘⠙⠚⠛⠜⠝⠞⠟⠠⠡⠢⠣⠤⠥⠦⠧⠨⠩⠪⠫⠬⠭⠮⠯⠰⠱⠲⠳⠴⠵⠶⠷⠸⠹⠺⠻⠼⠽⠾⠿"

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.

gollark: [NEIGHBOURING COUNTRY] sure is bad, due to [MINOR DIFFERENCE].
gollark: Oh. Sure, maybe.
gollark: Specifically, ironic "beliefs" shouldn't factor into your decisions and world models.
gollark: I mean, presumably there's a difference between actually believing things and ironically believing them, if you believe that beliefs mean anything.
gollark: In what way?

See also

References

  1. "World Braille Usage".
  2. "New BARD Overview". nlsbard.loc.gov.
  3. "NBP - What's a BRF". www.nbp.org.
  4. "Liblouis* - An open-source braille translator and back-translator". liblouis.org.
  5. "About Electronic Files - APH Louis - APH Louis". louis.aph.org.
  6. "What are DAISY and BRF? - Bookshare". www.bookshare.org.
  7. "IRS Tax Forms (in Braille and Text Formats) - Internal Revenue Service". www.irs.gov.
  8. "BRL: Braille Through Remote Learning". www.brl.org.
  9. "Representing and Displaying Braille". DotlessBraille.org. February 20, 2002. Retrieved August 9, 2009.
  10. Halleck, John (August 24, 2000). "braille-ascii.ads". Braille.Ascii. Archived from the original on June 13, 2010. Retrieved August 10, 2009.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.