Skip to content

TUnicodeCategory

Unicode code point (character) category

Declaration

Source position: character.pas line 33

Type
TUnicodeCategory = (ucUppercaseLetter,ucLowercaseLetter,
                    ucTitlecaseLetter,ucModifierLetter,ucOtherLetter,
                    ucNonSpacingMark,ucCombiningMark,ucEnclosingMark,
                    ucDecimalNumber,ucLetterNumber,ucOtherNumber,
                    ucConnectPunctuation,ucDashPunctuation,
                    ucOpenPunctuation,ucClosePunctuation,
                    ucInitialPunctuation,ucFinalPunctuation,
                    ucOtherPunctuation,ucMathSymbol,ucCurrencySymbol,
                    ucModifierSymbol,ucOtherSymbol,ucSpaceSeparator,
                    ucLineSeparator,ucParagraphSeparator,ucControl,
                    ucFormat,ucSurrogate,ucPrivateUse,ucUnassigned)

Description

This enumeration type contains the characterization of all possible Unicode characters. It is used in the GetUnicodeCategory and TCharacter.GetUnicodeCategory functions.

See also

Name Description
GetUnicodeCategory Alias for TCharacter.GetUnicodeCategory
TCharacter.GetUnicodeCategory Get the Unicode category of a character