The JIS codec provides conversion to and from ISO 2022-JP.
The environment variable
UNICODEMAP_JP can be used to fine-tune the JIS, Shift-JIS, and EUC-JP codecs. The mapping names are as for the Japanese XML working group's XML Japanese Profile, because it names and explains all the widely used mappings. Here are brief descriptions, written by Serika Kurusugawa:
In addition, the extensions "nec-vdc", "ibm-vdc" and "udc" are supported.
For example, if you want to use Unicode style conversion but with NEC's extension, set
unicode-0.9, nec-vdc. (You will probably need to quote that in a shell command.)
Most of the code here was written by Serika Kurusugawa, a.k.a. Junji Takagi, and is included in Qt with the author's permission and the grateful thanks of the Qt team.
See also Text Codec: ISO 2022-JP (JIS).
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.