Notes on conversion from type X to type M

Figure 9.11 Conversion from type X to type M

In a conversion from type X to type M, all of the codes of the input data are handled as 1-byte codes for conversion. In this example, the 2-byte code "0xA4A2" of the input data is regarded as the two 1-byte codes "0xA4" and "0xA2" for conversion. In this example, because both the input and output are the same ASCII kanji code type, the values of the halfwidth character remain the same. Also, as in the example, if the output area is larger than the actual output data size, the data is padded with halfwidth spaces.