This chapter includes tables of all the alphabet sets available under RISC OS. Most are based on the International Standards Organisation ISO 8859 document.
When you load an alphabet it overlays the previous alphabet. Most alphabets have a number of undefined characters, shown in the tables below by a light grey square. In such cases, the previous character definition for that code remains in effect.
The character codes 0 – 31 and 127 are not printable characters; they have special meaning to the VDU drivers, as described in VDU Codes. They are represented in the tables below by a dark grey square.
You can load alphabets using OS_Byte 71 or *Alphabet.
When the kernel is booted it sets up a default alphabet.
The kernel’s default alphabet always contains all characters that are defined in the Latin1 alphabet for the release of RISC OS in use. Note that this definition has been gradually extended by the addition of extra characters in the range &80 – &9F (128 – 159).
The kernel’s representation of characters that are neither defined in the Latin1 alphabet nor used by the VDU drivers varies. In RISC OS 2 they are represented by the underlined string ‘These•characters•are•not•defined’, and in RISC OS 3 by the hexadecimal value of their character code. In the future some of these undefined characters may be used to further extend the Latin1 alphabet, or their representation may change. Furthermore, it is these characters that users are most likely to redefine if necessary. Consequently, you must not rely upon their initial representation.
The default alphabet is then overlaid by the alphabet that is correct for the computer’s configured territory, as set by *Configure Territory. Under RISC OS 2, the alphabet used is instead determined by the computer’s configured country; see *Configure Country.
When the window manager starts, it redefines some characters. In RISC OS 2 these were used to draw windows’ borders, and so have to be present for the desktop to have the correct appearance. Later versions of RISC OS still redefine some of these characters for backwards compatibility, but do not themselves use them. You must not rely on the presence of these characters unless your program is running under the desktop in RISC OS 2.
The description of the *Country command explains the relationship between country, alphabet and keyboard. There are some useful keyboard shortcuts which you can use to access various characters and alphabets while you are working. You can use these wherever you can use the keyboard: for example, in the Command Line, in Edit, or when entering a filename to save a file. The first two keystroke combinations allow you to switch easily between keyboard layouts:
Shortcut | Meaning |
---|---|
Alt Ctrl F1 | Selects keyboard layout appropriate to the UK country |
Alt Ctrl F2 | Selects the keyboard layout appropriate to the configured country |
Alt <x> | Enters the character corresponding to the character code typed |
Where <x> denotes a decimal character code typed on numeric keypad
The following sequence also switches the keyboard layout:
(Character set tables still to be corrected/completed.)
0 | 16 | 32 | 48 | 64 | 80 | 96 | 112 | 128 | 144 | 160 | 178 | 192 | 208 | 224 | 240 | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+0 | 0 | @ | P | ` | p | | ° | À | Ð | à | ð | 0 | |||||
+1 | ! | 1 | A | Q | a | q | | | ¡ | ± | Á | Ñ | á | ñ | 1 | ||
+2 | " | 2 | B | R | b | r | | | ¢ | ² | Â | Ò | â | ò | 2 | ||
+3 | # | 3 | C | S | c | s | | £ | ³ | Ã | Ó | ã | ó | 3 | |||
+4 | $ | 4 | D | T | d | t | | ¤ | ´ | Ä | Ô | ä | ô | 4 | |||
+5 | % | 5 | E | U | e | u | | ¥ | µ | Å | Õ | å | õ | 5 | |||
+6 | & | 6 | F | V | f | v | | | ¦ | ¶ | Æ | Ö | æ | ö | 6 | ||
+7 | ' | 7 | G | W | g | w | | § | · | Ç | × | ç | ÷ | 7 | |||
+8 | ( | 8 | H | X | h | x | | ¨ | ¸ | È | Ø | è | ø | 8 | |||
+9 | ) | 9 | I | Y | i | y | | © | ¹ | É | Ù | é | ù | 9 | |||
+10 | * | : | J | Z | j | z | | ª | º | Ê | Ú | ê | ú | A | |||
+11 | + | ; | K | [ | k | { | | « | » | Ë | Û | ë | û | B | |||
+12 | , | < | L | \ | l | | | | | ¬ | ¼ | Ì | Ü | ì | ü | C | ||
+13 | - | = | M | ] | m | } | | | | ½ | Í | Ý | í | ý | D | ||
+14 | . | > | N | ^ | n | ~ | | | ® | ¾ | Î | Þ | î | þ | E | ||
+15 | / | ? | O | _ | o | | | ¯ | ¿ | Ï | ß | ï | ÿ | F |