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.17 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

UTF-8

KTITO8

EUC-JP

IBM Kanji

KTETOI

Shift-JIS

IBM Kanji

KTSTOI

JEF

IBM Kanji

KTJTOI

UTF-8

IBM Kanji

KT8TOI

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 the case where HULFT is installed in HULFT library.

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 '#.'

Editing the custom character file

Paste the content copied in Copying of the table fileto the custom character table file for IBM Kanji to Shift-JIS. For custom character table file, refer to Table 3.16 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 '#.'

Creation of the conversion file

Create the custom character conversion file.

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

Confirmation of the conversion file

Verify the content of the conversion file in standard output.

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