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:

Table 2.19 Character Codes of Double-byte Space and Single-byte Space in Type-ASCII Code Set

Code Set of
Transferred File

Double-byte Space

Single-byte Space

Shift-JIS

0x8140

0x20

EUC-JP

0xA1A1

GB18030

0xA1A1

UTF-8

0xE38080

Table 2.20 Character Codes of Double-byte Space and Single-byte Space in Type-EBCDIC Code Set

Code Set of
Transferred File

Double-byte Space

Single-byte Space

IBM Kanji

0x4040

0x40

Fujitsu Kanji (JEF)

0x4040

0xA1A1 (*1)

Hitachi Kanji (KEIS) (*2)

0x4040

0xA1A1

NEC Kanji (JIPS (E))

0x4F4F

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.

*2

:

When you convert character codes of other code sets into character codes of KEIS, you can select which space code to use for the double-byte space code by setting KEIS Em-size Space Mode in the System Environment Settings.

For details on KEIS Em-size Space Mode, refer to Administration Manual for the host type in use.

 

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.