Here are the valid ranges of bytes according to its encoding structure.
| Byte Range Purpose |
Byte Range in Hexadecimal |
Comment |
|---|
| single byte |
41-F9 |
Includes graphic characters. Does not include unassigned characters nor ISO control characters. |
| shift to single byte mode |
29 |
|
| shift to double byte mode |
28 |
|
| first byte of double byte |
40, 41-7D, 7F-FE |
A1-FE are JIS C 6226-1978 characters. 41-7D, 7F are extended characters. 80-A0 are user defined characters.
Byte 40 is only valid when followed by byte 40. |
| second byte of double byte |
40, A1-FE |
40 is only valid when preceded by byte 40. 0x40 0x40 makes the ideographic space character. |