Handling of other codes

(1) Conversion from ASCII (Shift JIS and EUC) to UTF-16

The codes that are not included in the table in Mutual conversion between ASCII (Shift JIS and EUC) and UTF-16/UTF-8 are converted as indicated in the table below.

ASCII (Shift JIS and EUC)

UTF-16

From 0x01 to 0x7E

0x00 is added at the beginning

Other

0x0020

DataMagic handles 0x00 as the end of the data. For details, see descriptions about handling of null characters in data, in DataMagic Operation Manual.

(2) Conversion from UTF-16 to ASCII (Shift JIS and EUC)

The codes from 0x0001 to 0x00FF and from 0xFF61 to 0xFF9F are converted as halfwidth characters. The codes that are not included in the table in Mutual conversion between ASCII (Shift JIS and EUC) and UTF-16/UTF-8 are converted as indicated in the table below.

UTF-16

ASCII (Shift JIS and EUC)

From 0x0001 to 0x007E

0x00 at the beginning is deleted

Other

0x20

DataMagic handles 0x0000 as the end of the data. For details, see descriptions about handling of null characters in data, in DataMagic Operation Manual.

 

Note that the following codes are converted as fullwidth characters if the field type is "N (Double-byte Graphic Characters)", "M (Variable-length Characters)", or "Character Data", because fullwidth characters are assigned to these codes:

0x00A7

: §

0x00A8

: ¨

0x00B0

: °

0x00B1

: ±

0x00B4

: ´

0x00B6

: ¶

0c00D7

: ×

0x00F7

: ÷

(3) Conversion between ASCII (Shift JIS and EUC) and UTF-8

In data processing with "X (Character)" specified for the field type, the codes that are not included in the table Mutual conversion between ASCII (Shift JIS and EUC) and UTF-16/UTF-8 represent the same characters in ASCII (Shift JIS and EUC) and UTF-8.