Try OpenEdge Now
skip to main content
Internationalizing Applications
Using Unicode : Unicode support for supplementary characters : New and modified keywords

New and modified keywords

This section describes inputting Unicode codepoints in ABL code, in support of supplementary characters.
To input Unicode scalar codepoints in plane 0 (U+0000 to U+FFFF), use this syntax:


~uXXXX in
A 4-digit, case-insensitive hex digit.
To input Unicode scalar codepoints in planes 0 - 16 (U+0000 to U+10FFFF), use this syntax:


A 6-digit, case-insensitive hex digit.
When the ABL code is parsed, this character value is converted from Unicode to -cpinternal. If the character is not a valid character in -cpinternal, the entire escaped string is passed through. For example, if -cpinternal is 1252, ~u4E00 is passed to ABL as is.