Convmap changes
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The convmap files support supplementary characters in the DBCS-to-UTF-8 conversion (type 17). Any conversion using supplementary characters must use the Unicode compression option. Unicode compression is input as an increasing set of Unicode pairs of the form high value, low value, followed by 0, for a maximum of 5 ranges, with an additional 0 at the end.
The following excerpt from a conversion specification compresses the Unicode values from four ranges in plane 0 and one range in plane 8:
|
Compression cannot occur over more than one plane. For example, this would not be supported:
|
The actual mappings appear in the -DATA section
of the table, with the Unicode values expressed as the hex value
of the UTF-32 codepoint, as shown:
|