Space code conversion rules
This section describes conversion rules for space codes shown in the tables below.
In principle, HULFT converts a single-byte space code into the single-byte space code of the target code set, and a double-byte space code into the double-byte space code of the target code set.
The results of space code conversion are the same for sending-side conversion and receiving-side conversion.
The following shows the character codes of the double-byte space and the single-byte space in each code set:
Code Set of |
Double-byte Space |
Single-byte Space |
---|---|---|
Shift-JIS |
0x8140 |
0x20 |
EUC-JP |
0xA1A1 |
|
GB18030 |
0xA1A1 |
|
UTF-8 |
0xE38080 |
Code Set of |
Double-byte Space |
Single-byte Space |
---|---|---|
IBM Kanji |
0x4040 |
0x40 |
Fujitsu Kanji (JEF) |
0x4040 |
|
0xA1A1 (*1) |
||
IBM Simplified Chinese |
0x4040 |
*1 |
: |
HULFT handles 0xA1A1 as a double-byte space code only in the conversion of character codes from JEF to one of the other code sets. |
For special cases of conversion, such as conversion whose result varies depending on whether HULFT carries out the conversion on the sending side or on the receiving side, refer to the explanation in the subsequent sections.