Computer Braille Code: Difference between revisions

Content deleted Content added
top: Fixed some nonsense in the text
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1:
{{Short description|Braille for representation of computer-related materials}}
<div style="font-size:smaller;line-height:normal;margin:1px .5em;float:right;margin-right:0;border:1px solid #AAA;background:#F7F8FF;color:#000;padding:5px;width:12em">
{|cellspacing="3" cellpadding="2" style="margin:auto;background:#FFF"
|-
|style="background:#222;color:#FFF;border:1px solid #777;border-radius:1em;padding:2px .5em"|'''1'''
|style="background:#222;color:#FFF;border:1px solid #777;border-radius:1em;padding:2px .5em"|'''4'''
|-
|style="background:#222;color:#FFF;border:1px solid #777;border-radius:1em;padding:2px .5em"|'''2'''
|style="background:#222;color:#FFF;border:1px solid #777;border-radius:1em;padding:2px .5em"|'''5'''
|-
|style="background:#222;color:#FFF;border:1px solid #777;border-radius:1em;padding:2px .5em"|'''3'''
|style="background:#222;color:#FFF;border:1px solid #777;border-radius:1em;padding:2px .5em"|'''6'''
|-
|style="background:#FFF;color:#777;border:1px solid #AAA;border-radius:1em;padding:2px .5em"|'''7'''
|style="background:#FFF;color:#777;border:1px solid #AAA;border-radius:1em;padding:2px .5em"|'''8'''
|}
<div>Standard numbering of dots in 8-dot Braille patterns.</div>
</div>
'''Computer Braille''' is an adaptation of [[braille]] for precise representation of computer-related materials such as programs, program lines, computer commands, and filenames. Unlike standard 6-dot braille scripts, but like [[Gardner–Salinas braille codes]], this may employ the extended 8-dot braille patterns.
 
Line 120 ⟶ 137:
The 8-dot code is designed that its 6-dot subset is identical to the 6-dot code. The remainder are assigned by the following rules:
 
* addingthe composition of Braille dot 7, subtracts 32 from the ASCII value (as shown in rows 0 and 1 of the table below);
* the composition of Braille dot 8 adds 128 to the ASCII value (not shown in the table below, it is used for extensions for 8-bit codes of ASCII-based encodings, including single-byte encodings like ISO/IEC 8859 and other legacy Windows and OEM codepages, or multibyte encodings like Unicode UTF-8).
* adding dot 8 adds 128 to the ASCII value;
 
The dot-5 ({{braille cell|5}}) character is used as a universal modifier{{clarification needed|date=April 2023}}.
 
The following table assumes the 8-bit data is encoding text in the [[CP437]] character set used on the IBM PC.