Text Attribute
UNI_SCALAR
Unicode scalar value.
Since v1.0
#define UNI_SCALAR
 0x1u
Discussion 🔗
Text attribute bit flag that indicates the text is represented by an integer type large enough to accommodate Unicode scalar values.
This is a pseudo-encoding that uses the unichar type for storage.
Unicode scalars are not the same as code points. The former excludes surrogate characters whereas the latter does not.