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 external character template files for NEC special characters into the existing Custom Character Table file. (See Table 3.18 .)
The external character template files for NEC special characters are stored in 'HULPATH/gtf.'
The NEC special characters provided as External Character Template files are shown below.

Input Code |
Output Code |
External Character Template File Name |
Default Code |
---|---|---|---|
EUC-JP |
Shift-JIS |
ktetos.txt |
0x81a0 |
EUC-JP |
IBM Kanji |
ktetoi.txt |
0x44e9 |
EUC-JP |
JEF |
ktetoj.txt |
0xa2a2 |
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 |
UTF-8 |
ktsto8.txt |
0xE296A1 |
IBM Kanji |
EUC-JP |
ktitoe.txt |
0xa2a2 |
IBM Kanji |
Shift-JIS |
ktitos.txt |
0x81a0 |
IBM Kanji |
UTF-8 |
ktito8.txt |
0xE296A1 |
JEF |
EUC-JP |
ktjtoe.txt |
0xa2a2 |
JEF |
Shift-JIS |
ktjtos.txt |
0x81a0 |
JEF |
UTF-8 |
ktjto8.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 |
Below is an example that shows how to incorporate conversion definitions for NEC special characters into the custom character file for conversion from IBM Kanji to Shift-JIS.
Copying the template file
Copy the content of the external character template file for NEC special characters from IBM Kanji to Shift-JIS.
Content of the external character template file for NEC special characters (ktitos.txt)
# # IBM Kanji -> SJIS # #incode #outcode 0xE270 0x8740 0xE271 0x8741 0xE272 0x8742 . . . .
-
The text in bold is copied.
-
Lines that are preceded by a number sign (#) are comments.
Editing Custom Character Table files
Paste the content copied in Copying the template file to the Custom Character Table file for IBM Kanji to Shift-JIS. (See Table 3.18 List of Custom Character Table Files.)
Content of the Custom Character Table file (gtitos.txt)
# # IBM Kanji -> 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 pasted.
-
Lines that are preceded by a number sign (#) are comments.
Creating conversion files
Create the custom character conversion file by using the Custom Character Table Translate command.
% utlgtfextd -i is
Confirming conversion files
Confirm the contents of the custom character conversion file by using the Custom Character Table Translate command.
% utlgtfextd -o is