TUnicodeCharacterEnumerator class
Implements an enumerator for Unicode codepoints.
Declaration
TUnicodeCharacterEnumerator = class(TUnicodeEnumeratorBase)Inheritance
- TUnicodeCharacterEnumerator
- TUnicodeEnumeratorBase
Description
Implements an enumerator for Unicode codepoints. TUnicodeCharacterEnumerator
allows traversal of characters (codepoints) in a Unicode-encoded string.
Values use either UTF-16 or UTF-8 encoding depending on the value for
$ModeSwitch. An overridden MoveNext method is provided to handle
combining diacritical marks in the Unicode codepoints.
Properties
CurrentCodePointCount | public | Number of bytes used for the Current codepoint. |
Methods
MoveNext | public | Adds support for combining diacritical marks when moving to the next codepoint. |
Inherited
From TUnicodeEnumeratorBase (3)
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
