Details
-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
None
Description
ISO/IEC 2022 defines syntax and semantics for the escape sequences to switch between different charatersets. There are also variants to this for single and multi byte encodings.
http://en.wikipedia.org/wiki/ISO_2022
http://ra.dkuug.dk/CEN/TC304/guide/GCTRL.HTM#escape
http://ra.dkuug.dk/CEN/TC304/guide/GIS2022.HTM
Some file formats (i.e. dicom, a medical image format) allows strings to contain parts encoded in different character sets. For example a person name may be encoded as latin1, as ideographic and as phonetic at the same time. ISO 2022 defines how to interpret the different parts of the text data correctly.
Qt already supports ISO 2022-JP with the JIS codec.