- Documentation
- Reference manual
- Foreign Language Interface
- The Foreign Include File
- Analysing Terms via the Foreign Interface
- Wide-character versions
- PL_new_atom_wchars()
- PL_atom_wchars()
- PL_get_wchars()
- PL_put_wchars()
- PL_unify_wchars()
- PL_unify_wchars_diff()
- PL_utf8_code_point()
- PL_utf8_strlen()
- PL_wcwidth()
- PL_is_id_start()
- PL_is_id_continue()
- PL_is_uppercase()
- PL_is_decimal()
- PL_is_layout()
- PL_ctype_flags()
- PL_toupper()
- PL_tolower()
- PL_totitle()
- Wide-character versions
- Analysing Terms via the Foreign Interface
- The Foreign Include File
- Foreign Language Interface
- Packages
- Reference manual
Availability:C-language interface function
The result is locale-independent and identical on every supported
platform. Width data is sourced at table-build time from
EastAsianWidth.txt (UAX #11) and the general-category
property, and stored as two bits in each uflags_map entry
alongside the syntax classification used by the parser; runtime lookups
are a single byte fetch. The Unicode version that drives the table is
reported by the unicode_syntax_version
flag (see
section 2.15.1.9).
The argument is a full 32-bit code point. Avoid casting to
wchar_t before the call: wchar_t is 16-bit on
Windows, and the cast silently drops non-BMP characters.