NEC Special Character Table

Although custom character tables are not provided with HULFT, some of the NEC special characters are used often. Therefore, these are provided as a template table. It is imported and used in the existing custom character table file.

The template of NEC special character table provided is stored in the 'GTEXTK' file in the library where HULFT is installed.

= Remarks =

The following characters are provided as the NEC special characters.

Table 3.16 File List of NEC Special Character Table Template

Input Code

Output Code

Model Member Name

IBM Kanji

EUC-JP

KTITOE

IBM Kanji

Shift-JIS

KTITOS

IBM Kanji

JEF

KTITOJ

IBM Kanji

KEIS

KTITOK

IBM Kanji

NEC

KTITON

IBM Kanji

UTF-8

KTITO8

EUC-JP

IBM Kanji

KTETOI

EUC-JP

UTF-8

KTETO8

Shift-JIS

IBM Kanji

KTSTOI

Shift-JIS

UTF-8

KTSTO8

JEF

IBM Kanji

KTJTOI

JEF

UTF-8

KTJTO8

KEIS

IBM Kanji

KTKTOI

KEIS

UTF-8

KTKTO8

NEC

IBM Kanji

KTNTOI

NEC

UTF-8

KTNTO8

UTF-8

IBM Kanji

KT8TOI

UTF-8

EUC-JP

KT8TOE

UTF-8

Shift-JIS

KT8TOS

UTF-8

JEF

KT8TOJ

UTF-8

KEIS

KT8TOK

UTF-8

NEC

KT8TON

The inclusion method of conversion of custom characters of NEC special characters when converting from IBM Kanji code to Shift-JIS code is shown below as a creation example.

The example explains about the case where HULFT is installed in HULFT library.

(1) Copying of the table file

Copy the content of the NEC special characters table file from IBM Kanji to Shift-JIS

Content of NEC Special Character Table (KTITOS)

*
* FROM IBM KANJI TO SJIS
*

* DEFAULT OUTPUT CODE
DEFAULTCODE=0X81A0

*INCODE *OUTCODE
*IBM SJIS
0XE270 0X8740
0XE271 0X8741
0XE272 0X8742
: :

  • The text in bold is copied.

  • The lines starting with '*' in the file shown above are comments.

    Lines starting with 0x7B are also comments. However, the character represented by 0x7B varies depending on the code set. In the code sets for Japanese, 0x7B represents '#.'

(2) Editing the custom character file

Paste the content copied in (1) to the custom character table file for IBM Kanji to Shift-JIS. For custom character table file, refer to Table 3.15 Custom character table files.

Content of the custom character table (GTITOS)

*
* FROM IBM KANJI TO SJIS
*


* DEFAULT OUTPUT CODE
DEFAULTCODE=0X81A0

*INCODE *OUTCODE
0X676B 0XFBFC
0X5294 0XFA61
0X576B 0X8BA7
0XE270 0X8740
0XE271 0X8741
0XE272 0X8742
: :

  • The text in bold is copied.

  • The lines starting with '*' in the file shown above are comments.

    Lines starting with 0x7B are also comments. However, the character represented by 0x7B varies depending on the code set. In the code sets for Japanese, 0x7B represents '#.'

(3) Creation of the conversion file

Create the custom character conversion file.

CALL HULFT/UTLGTFEXTD PARM('I=IS')

(4) Confirmation of the conversion file

Verify the content of the conversion file in standard output.

CALL HULFT/UTLGTFEXTD PARM('O=IS')