Templates for characters added in JIS2004
HULFT treats the characters added to JIS2004 as custom characters. Therefore, when carrying out Code Conversion, users should incorporate the JIS2004 characters into custom character tables. Among the characters that are newly added to JIS level 3 and JIS level 4, HULFT offers template sample files of the characters prepared by Shift-JIS/UTF-8. Copy the required part onto the Custom Character Table file to use the characters.
The Custom Character Template Sample file for additional characters in JIS2004 is stored in "HULPATH
Code Conversion from |
Code Conversion to |
Custom Character Template File Name |
---|---|---|
Shift-JIS |
UTF-8 |
sjistoutf8-34kanji.txt |
UTF-8 |
Shift-JIS |
utf8tosjis-34kanji.txt |
The following section explains how to incorporate the additional characters in JIS2004 into the custom character table, when converting from Shift-JIS to UTF-8.
Copying of the template file
Copy the contents of the Custom Character Template Sample file for additional characters in JIS2004 (sjistoutf8-34kanji.txt).
Contents of the Custom Character Template Sample file for additional characters in JIS2004 (sjistoutf8-34kanji.txt)
# # SJIS -> UTF-8 # . . . . 0xfa5c 0xe7ba8a 0xfa5d 0xe8a49c 0xfa5e 0xe98d88 . . . .
-
The text in bold is copied.
-
Lines that are preceded by a number sign (#) are comments.
Editing of Custom Character Table files
Paste the contents of the Custom Character Template Sample file for additional characters in JIS2004 copied in Copying of the template file to the Custom Character Table file (gtsto8.txt).
Contents of the Custom Character Table file (gtsto8.txt)
# # Shift-JIS -> UTF8 # # default output code defaultcode=0xe296a1 #incode #outcode 0x8740 0xe291a0 0x8741 0xe291a1 0x8742 0xe291a2 0xfa5c 0xe7ba8a 0xfa5d 0xe8a49c 0xfa5e 0xe98d88 . . . .
-
The text in bold is pasted.
-
Lines that are preceded by a number sign (#) are comments.
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 s8
Confirmation of conversion files
Start the command prompt. Move to the 'bin' folder in the HULFT installation folder, and execute the following command:
> utlgtfextdV -o s8