NEC special character table

In principle, HULFT does not provide custom character tables. (Refer to Custom character table inclusion example.) However, since some NEC special characters are used often, Custom Character Table files are provided as templates.

Import the Custom Character Template files for NEC special characters into the existing Custom Character Table file. (See Table 3.14 .)

The Custom Character Template files for NEC special characters are stored in 'HULPATH/gtf.'

= Remarks =

The NEC special characters provided as Custom Character Template files are shown below.

Table 3.15 Custom Character Template File List for NEC Special Characters

Input Code

Output Code

Custom Character Template File Name

Default Code

EUC-JP

Shift-JIS

ktetos.txt

0x81A0

EUC-JP

UTF-8

kteto8.txt

0xE296A1

Shift-JIS

EUC-JP

ktstoe.txt

0xA2A2

Shift-JIS

IBM Kanji

ktstoi.txt

0x44E9

Shift-JIS

JEF

ktstoj.txt

0xA2A2

Shift-JIS

KEIS

ktstok.txt

0xA2A2

Shift-JIS

NEC

ktston.txt

0x7F7F

Shift-JIS

UTF-8

ktsto8.txt

0xE296A1

IBM Kanji

Shift-JIS

ktitos.txt

0x81A0

IBM Kanji

UTF-8

ktito8.txt

0xE296A1

JEF

Shift-JIS

ktjtos.txt

0x81A0

JEF

UTF-8

ktjto8.txt

0xE296A1

KEIS

Shift-JIS

ktktos.txt

0x81A0

KEIS

UTF-8

ktkto8.txt

0xE296A1

NEC

Shift-JIS

ktntos.txt

0x81A0

NEC

UTF-8

ktnto8.txt

0xE296A1

UTF-8

EUC-JP

kt8toe.txt

0xA2A2

UTF-8

Shift-JIS

kt8tos.txt

0x81A0

UTF-8

IBM Kanji

kt8toi.txt

0x44E9

UTF-8

JEF

kt8toj.txt

0xA2A2

UTF-8

KEIS

kt8tok.txt

0xA2A2

UTF-8

NEC

kt8ton.txt

0x7F7F

The following section explains how to incorporate conversion definitions for NEC special characters into the custom character file for conversion from IBM Kanji to Shift-JIS.

(1) Creation of the Custom Character Table file (gtitos.txt)

When a custom character table for IBM Kanji to Shift-JIS already exists

Create the Custom Character Table file (gtitos.txt) for existing custom characters.

Start the command prompt. Move to the 'bin' folder in the HULFT installation folder, and execute the following command to create a Custom Character Table file:

> utlgtfextdV -o is > gtitos.txt

Move the created Custom Character Table file to 'HULPATH\gtf.'

Note

When the following procedure is carried out without creating a Custom Character Table file of existing custom characters, the existing custom character table is discarded.

When a custom character table does not exist

Create the Custom Character Table file (gtitos.txt) as shown below in 'HULPATH\gtf.'

# 
# IBM Kanji -> Shift-JIS 
# 

#default output code 
defaultcode=0x81A0 

#incode         #outcode

Lines that are preceded by a number sign (#) are comments.

(2) Copying of the template file

Copy the content of the Custom Character Template file for NEC special characters from IBM Kanji to Shift-JIS.

Content of the Custom Character Template file for NEC special characters (ktitos.txt)

# 
# IBM Kanji -> Shift-JIS 
# 

#incode        #outcode 
0xE270         0x8740 
0xE271         0x8741 
0xE272         0x8742 
  .              . 
  .              .

  • The text in bold is copied.

  • Lines that are preceded by a number sign (#) are comments.

(3) Editing of Custom Character Table files

Paste the content copied in (2) to the Custom Character Table file for IBM Kanji to Shift-JIS.
(See Table 3.14 List of Custom Character Table files.)

Content of the Custom Character Table file (gtitos.txt)

# 
# IBM Kanji -> Shift-JIS 
# 

#default output code 
defaultcode=0x81A0 

#incode        #outcode 
0x676B         0xFBFC 
0x5294         0xFA61 
0x576B         0x8BA7 
0xE270         0x8740 
0xE271         0x8741 
0xE272         0x8742 
  .              . 
  .              .

  • The text in bold is pasted.

  • Lines that are preceded by a number sign (#) are comments.

(4) Creation of conversion files

Start the command prompt. Move to the 'bin' folder in the HULFT installation folder, and execute the following command:

> utlgtfextdV -i is

(5) Confirmation of conversion files

Verification by command

Start the command prompt. Move to the 'bin' folder in the HULFT installation folder, and execute the following command:

> utlgtfextdV -o is

Verification by using Custom Character Table Registration screen