Text Attribute

UNI_SCALAR

Unicode scalar value.

Since v1.0
#define UNI_SCALAR
 0x1

Discussion 🔗

Text attribute bit flag that indicates the text is encoded as 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.