Custom character table inclusion example

Below is an example that shows how to include ''' (Shift-JIS : 0x878A, JEF: 0x78D5) in the custom character table for conversion from Shift-JIS to JEF.

Editing Custom Character Table files

Edit the Custom Character Table file for Shift-JIS to JEF by using an editor, such as vi. (The Custom Character Table files are stored in 'HULPATH/gtf.')

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

# 
# Shift-JIS -> JEF 
# 
 
# default output code 
defaultcode=0xa2a2 
 
#incode #outcode 
0x878a    0x78d5

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 sj

Confirming conversion files

Confirm the contents of the custom character conversion file by using the Custom Character Table Translate command.

% utlgtfextd -o sj