The AIX Version 4 NLS subsystem supports two Code Sets for Spanish. These Code Sets are the PC Code Set IBM-850 and the Code Set ISO8859-1, which is the industry standard. The two columns in the translate tables identify both the IBM-850 and ISO8859-1 code points for the key positions. The code points are the same for the ASCII characters since ASCII is a subset of the IBM-850 and ISO8859-1 Code Sets.
The following sections of the Spanish keyboard translate table contain the keyboard information for the Spanish keyboard. The keyboard table:
To find out the position number of one or more of the keyboard keys, see "Key Position Codes and Scan Codes for Keyboards" .
For more detailed information about the abbreviations, characters, and headings used in this table, see:
| Spanish Keyboard Translate Table | ||||
| Key | Shift | Assignment Returned | Returned String | |
| Posn | State | 850 Code Set | 8859-1 Code Set | |
| 1 | Base | Masculine Sign (c) | 0xa7 | 0xab | 
| 1 | Shift | Feminine Sign (c) | 0xa6 | 0xaa | 
| 1 | Ctrl | IS4 (c) | 0x1c | 0x1c | 
| 1 | Alt | PFK 86 (f) | ESC [ 0 8 6 q (0x56) | ESC [ 0 8 6 q (0x56) | 
| 1 | AltGr | Reverse Slash (c) | 0x5c | 0x5c | 
| 2 | Base | One (c) | 0x31 | 0x31 | 
| 2 | Shift | Exclamation Point (c) | 0x21 | 0x21 | 
| 2 | Ctrl | PFK 49 (f) | ESC [ 0 4 9 q (0x31) | ESC [ 0 4 9 q (0x31) | 
| 2 | Alt | PFK 58 (f) | ESC [ 0 5 8 q (0x3a) | ESC [ 0 5 8 q (0x3a) | 
| 2 | AltGr | Pipe Symbol (c) | 0x7c | 0x7c | 
| 3 | Base | Two (c) | 0x32 | 0x32 | 
| 3 | Shift | Double Quote (c) | 0x22 | 0x22 | 
| 3 | Ctrl | NUL (c) | 0x00 | 0x00 | 
| 3 | Alt | PFK 59 (f) | ESC [ 0 5 9 q (0x3b) | ESC [ 0 5 9 q (0x3b) | 
| 3 | AltGr | At Sign (c) | 0x40 | 0x40 | 
| 4 | Base | Three (c) | 0x33 | 0x33 | 
| 4 | Shift | Product Dot (c) | 0xfa | 0xb7 | 
| 4 | Ctrl | PFK 50 (f) | ESC [ 0 5 0 q (0x32) | ESC [ 0 5 0 q (0x32) | 
| 4 | Alt | PFK 60 (f) | ESC [ 0 6 0 q (0x3c) | ESC [ 0 6 0 q (0x3c) | 
| 4 | AltGr | Number Sign (c) | 0x23 | 0x23 | 
| 5 | Base | Four (c) | 0x34 | 0x34 | 
| 5 | Shift | Dollar Sign (c) | 0x24 | 0x24 | 
| 5 | Ctrl | PFK 51 (f) | ESC [ 0 5 1 q (0x33) | ESC [ 0 5 1 q (0x33) | 
| 5 | Alt | PFK 61 (f) | ESC [ 0 6 1 q (0x3d) | ESC [ 0 6 1 q (0x3d) | 
| 5 | AltGr | Tilde Accent (c) | 0x7e | 0x7e | 
| 6 | Base | Five (c) | 0x35 | 0x35 | 
| 6 | Shift | Percent Sign (c) | 0x25 | 0x25 | 
| 6 | Ctrl | PFK 52 (f) | ESC [ 0 5 2 q (0x34) | ESC [ 0 5 2 q (0x34) | 
| 6 | Alt | PFK 62 (f) | ESC [ 0 6 2 q (0x3e) | ESC [ 0 6 2 q (0x3e) | 
| 6 | AltGr | Ignore (f) | Not Returned (0x1ff) | Not Returned (0x1ff) | 
c = character f = function
| Spanish Keyboard Translate Table | ||||
| Key | Shift | Assignment Returned | Returned String | |
| Posn | State | 850 Code Set | 8859-1 Code Set | |
| 7 | Base | Six (c) | 0x36 | 0x36 | 
| 7 | Shift | Ampersand (c) | 0x26 | 0x26 | 
| 7 | Ctrl | IS2 (c) | 0x1e | 0x1e | 
| 7 | Alt | PFK 63 (f) | ESC [ 0 6 3 q (0x3f) | ESC [ 0 6 3 q (0x3f) | 
| 7 | AltGr | Logical NOT Sign | 0xaa | 0xaa | 
| 8 | Base | Seven (c) | 0x37 | 0x37 | 
| 8 | Shift | Slash (c) | 0x2f | 0x2f | 
| 8 | Ctrl | PFK 53 (f) | ESC [ 0 5 3 q (0x35) | ESC [ 0 5 3 q (0x35) | 
| 8 | Alt | PFK 64 (f) | ESC [ 0 6 4 q (0x40) | ESC [ 0 6 4 q (0x40) | 
| 8 | AltGr | Ignore (f) | Not Returned (0x1ff) | Not Returned (0x1ff) | 
| 9 | Base | Eight (c) | 0x38 | 0x38 | 
| 9 | Shift | Left Parenthesis (c) | 0x28 | 0x28 | 
| 9 | Ctrl | PFK 54 (f) | ESC [ 0 5 4 q (0x36) | ESC [ 0 5 4 q (0x36) | 
| 9 | Alt | PFK 65 (f) | ESC [ 0 6 5 q (0x41) | ESC [ 0 6 5 q (0x41) | 
| 9 | AltGr | Ignore (c) | 0x7b | 0x7b | 
| 10 | Base | Nine (c) | 0x39 | 0x39 | 
| 10 | Shift | Right Parenthesis (c) | 0x29 | 0x29 | 
| 10 | Ctrl | PFK 55 (f) | ESC [ 0 5 5 q (0x37) | ESC [ 0 5 5 q (0x37) | 
| 10 | Alt | PFK 66 (f) | ESC [ 0 6 6 q (0c42) | ESC [ 0 6 6 q (0c42) | 
| 10 | AltGr | Ignore (f) | Not Returned (0x1ff) | Not Returned (0x1ff) | 
| 11 | Base | Zero (c) | 0x30 | 0x30 | 
| 11 | Shift | Equal Sign (c) | 0x3d | 0x3d | 
| 11 | Ctrl | PFK 56 (f) | ESC [ 0 5 6 q (0x38) | ESC [ 0 5 6 q (0x38) | 
| 11 | Alt | PFK 67 (f) | ESC [ 0 6 7 q (0x43) | ESC [ 0 6 7 q (0x43) | 
| 11 | AltGr | Ignore (f) | Not Returned (0x1ff) | Not Returned (0x1ff) | 
| 12 | Base | Quote, Apostrophe (c) | 0x27 | 0x27 | 
| 12 | Shift | Question Mark (c) | 0x3f | 0x3f | 
| 12 | Ctrl | PFK 112 (f) | ESC [ 1 1 2 q (0x70) | ESC [ 1 1 2 q (0x70) | 
| 12 | Alt | PFK 113 (f) | ESC [ 1 1 3 q (0x71) | ESC [ 1 1 3 q (0x71) | 
| 12 | AltGr | Ignore (f) | Not Returned (0x1ff) | Not Returned (0x1ff) | 
c = character f = function
| Spanish Keyboard Translate Table | ||||
| Key | Shift | Assignment Returned | Returned String | |
| Posn | State | 850 Code Set | 8859-1 Code Set | |
| 13 | Base | Inverted ! (c) | 0xad | 0xa1 | 
| 13 | Shift | Inverted ? (c) | 0xa8 | 0xbf | 
| 13 | Ctrl | PFK 69 (f) | ESC [ 0 6 9 q (0x45) | ESC [ 0 6 9 q (0x45) | 
| 13 | Alt | PFK 70 (f) | ESC [ 0 7 0 q (0x46) | ESC [ 0 7 0 q (0x46) | 
| 13 | AltGr | Ignore (f) | Not Returned (0x1ff) | Not Returned (0x1ff) | 
| 14 | Not Available | |||
| 15 | Base | BS (c) | 0x08 | 0x08 | 
| 15 | Shift | BS (c) | 0x08 | 0x08 | 
| 15 | Ctrl | DEL (c) | 0x7f | 0x7f | 
| 15 | Alt | PFK 71(f) | ESC [ 0 7 1 q (0x47) | ESC [ 0 7 1 q (0x47) | 
| 15 | AltGr | Ignore (f) | Not Returned (0x1ff) | Not Returned (0x1ff) | 
| 16 | Base | HT (c) | 0x09 | 0x09 | 
| 16 | Shift | CBT (f) | ESC [ Z q (0x105) | ESC [ Z q (0x105) | 
| 16 | Ctrl | PFK 72 (f) | ESC [ 0 7 2 q (0x48) | ESC [ 0 7 2 q (0x48) | 
| 16 | Alt | PFK 73 (f) | ESC [ 0 7 3 q (0x49) | ESC [ 0 7 3 q (0x49) | 
| 16 | AltGr | Ignore (f) | Not Returned (0x1ff) | Not Returned (0x1ff) | 
| 17 | Base | Lowercase q (c) | 0x71 | 0x71 | 
| 17 | Shift | Uppercase q (c) | 0x51 | 0x51 | 
| 17 | Ctrl | DC1 (c) | 0x11 | 0x11 | 
| 17 | Alt | PFK 74(f) | ESC [ 0 7 4 q (0x4a) | ESC [ 0 7 4 q (0x4a) | 
| 17 | AltGr | Ignore (f) | Not Returned (0x1ff) | Not Returned (0x1ff) | 
| 18 | Base | Lowercase w (c) | 0x77 | 0x77 | 
| 18 | Shift | Uppercase w (c) | 0x57 | 0x57 | 
| 18 | Ctrl | ETB (c) | 0x17 | 0x17 | 
| 18 | Alt | PFK 75 (f) | ESC [ 0 7 5 q (0x4b) | ESC [ 0 7 5 q (0x4b) | 
| 18 | AltGr | Ignore (f) | Not Returned (0x1ff) | Not Returned (0x1ff) | 
| 19 | Base | Lowercase e (c) | 0x65 | 0x65 | 
| 19 | Shift | Uppercase e (c) | 0x45 | 0x45 | 
| 19 | Ctrl | ENQ (c) | 0x05 | 0x05 | 
| 19 | Alt | PFK 76 (f) | ESC [ 0 7 6 q (0x4c) | ESC [ 0 7 6 q (0x4c) | 
| 19 | AltGr | Ignore (f) | Not Returned (0x1ff) | Not Returned (0x1ff) | 
c = character f = function
| Spanish Keyboard Translate Table | ||||
| Key | Shift | Assignment Returned | Returned String | |
| Posn | State | 850 Code Set | 8859-1 Code Set | |
| 20 | Base | Lowercase r (c) | 0x72 | 0x72 | 
| 20 | Shift | Uppercase r (c) | 0x52 | 0x52 | 
| 20 | Ctrl | DC2 (c) | 0x12 | 0x12 | 
| 20 | Alt | PFK 77 (f) | ESC [ 0 7 7 q (0x4d) | ESC [ 0 7 7 q (0x4d) | 
| 20 | AltGr | Ignore (f) | Not Returned (0x1ff) | Not Returned (0x1ff) | 
| 21 | Base | Lowercase t (c) | 0x74 | 0x74 | 
| 21 | Shift | Uppercase t (c) | 0x54 | 0x54 | 
| 21 | ||||