NEC special character tables

 

In DataMagic, no external character table is available by default. (See DataMagic Reference Manual) However, tables for frequently used NEC special characters are offered as templates. Include the template file you want to use in the existing external character table file.

The available NEC special character table template files can be found in the locations below.

In Windows:

The gtf folder in the shared data storage folder

In UNIX:

$DMPATH/gtf

= Remarks =

The following NEC special characters are available:

Table 5.12 List of NEC special character table template files

Input encoding

Output encoding

Template file name

EUC

SHIFT-JIS

ktetos.txt

IBM

ktetoi.txt

JEF

ktetoj.txt

JIS

ktetoz.txt

KEIS

ktetok.txt

NEC

kteton.txt

UTF-8

kteto8.txt

UTF-16

kteto6.txt

SHIFT-JIS

EUC

ktstoe.txt

IBM

ktstoi.txt

JEF

ktstoj.txt

JIS

ktstoz.txt

KEIS

ktstok.txt

NEC

ktston.txt

UTF-8

ktsto8.txt

UTF-16

ktsto6.txt

IBM

EUC

ktitoe.txt

SHIFT-JIS

ktitos.txt

JEF

ktitoj.txt

JIS

ktitoz.txt

KEIS

ktitok.txt

NEC

ktiton.txt

UTF-8

ktito8.txt

UTF-16

ktito6.txt

JEF

EUC

ktjtoe.txt

SHIFT-JIS

ktjtos.txt

IBM

ktjtoi.txt

JIS

ktjtoz.txt

KEIS

ktjtok.txt

NEC

ktjton.txt

UTF-8

ktjto8.txt

UTF-16

ktjto6.txt

JIS

EUC

ktztoe.txt

SHIFT-JIS

ktztos.txt

IBM

ktztoi.txt

JEF

ktztoj.txt

KEIS

ktztok.txt

NEC

ktzton.txt

UTF-8

ktzto8.txt

UTF-16

ktzto6.txt

Input encoding

Output encoding

Template file name

KEIS

EUC

ktktoe.txt

SHIFT-JIS

ktktos.txt

IBM

ktktoi.txt

JEF

ktktoj.txt

JIS

ktktoz.txt

NEC

ktkton.txt

UTF-8

ktkto8.txt

UTF-16

ktkto6.txt

NEC

EUC

ktntoe.txt

SHIFT-JIS

ktntos.txt

IBM

ktntoi.txt

JEF

ktntoj.txt

JIS

ktntoz.txt

KEIS

ktntok.txt

UTF-8

ktnto8.txt

UTF-16

ktnto6.txt

UTF-8

EUC

kt8toe.txt

SHIFT-JIS

kt8tos.txt

IBM

kt8toi.txt

JEF

kt8toj.txt

JIS

kt8toz.txt

KEIS

kt8tok.txt

NEC

kt8ton.txt

UTF-16

kt8to6.txt

UTF-16

EUC

kt6toe.txt

SHIFT-JIS

kt6tos.txt

IBM

kt6toi.txt

JEF

kt6toj.txt

JIS

kt6toz.txt

KEIS

kt6tok.txt

NEC

kt6ton.txt

UTF-8

kt6to8.txt

 

The following example shows how to convert EUC encoding to Shift JIS encoding.

1. Copy the contents of the table file for EUC to Shift JIS conversion (ktitos.txt) to the clipboard.

 

Contents of the table (ktetos.txt)

#
# EUC -> SHIFT-JIS
#
			 
# default output code
defaultcode=0x81a0
			 
#incode   #outcode
#EUC      SHIFT-JIS
0xADA1    0x8740# ①
0xADA2    0x8741# ②
0xADA3    0x8742# ③
     ・     ・
     ・     ・

* Copy the bold text.

* Lines starting with a hash mark (#) are comment lines.

 

2. Paste the contents copied in step 1 into the external character table file for EUC to Shift JIS conversion (see Table 5.7).

 

Contents of the external character table file (gtitos.txt)

#
# EUC -> SHIFT-JIS
#
			 
defaultcode=0x81a0
			 
#incode   #outcode
0x676B    0xFBFC
0x5294    0xFA61
0x576B    0x8BA7
0xADA1    0x8740# ①
0xADA2    0x8741# ②
0xADA3    0x8742# ③
  ・     ・
  ・     ・

* The bold text is the pasted contents.

* Lines starting with a hash mark (#) are comment lines.

 

3. Create the file for external character table expansion.

utledgtfextd -i es

 

4. Check the expansion file contents in the standard output.

utledgtfextd -o es