TextArea.UnicodeModes

From Xojo Documentation

Enumeration
TextArea.UnicodeModes

New in 2020r1

The ways in which characters are represented for the purpose of counting when part of a selection or range.

Values

Enum Description
Native The native mode for the platform. Codepoints is the native mode for macOS and Windows. Characters is the native mode for Linux.
Characters Each logical character is counted as a single character regardless of how many bytes are actually required.
Codepoints Each logical character is counted as the number of Unicode Codepoints (bytes) it requires. An emoji, for example, requires two bytes.

Compatibility

Desktop projects on Linux, macOS and Windows operating systems.

See Also

TextArea Control.