| Did you know ... | Search Documentation: |
| PL_wcwidth() |
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.