Sign in Join
FPDoc Onlineexperiment

TUnicodeCategory enumeration

In unit Character

Unicode code point (character) category.

Declaration

pascal
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 GetUnicodeCategory functions.

See also

Values

ucUppercaseLetterLetter, uppercase (Lu).
ucLowercaseLetterLetter, lowercase (Ll).
ucTitlecaseLetterLetter, titlecase (Lt).
ucModifierLetterLetter, modifier (Lm).
ucOtherLetterLetter, other (Lo).
ucNonSpacingMarkMark, nonspacing (Mn).
ucCombiningMarkMark, spacing combining (Mc).
ucEnclosingMarkMark, enclosing (Me).
ucDecimalNumberNumber, decimal digit (Nd).
ucLetterNumberNumber, letter (Nl).
ucOtherNumberNumber, other (No).
ucConnectPunctuationPunctuation, connector (Pc).
ucDashPunctuationPunctuation, dash (Pd).
ucOpenPunctuationPunctuation, open (Ps).
ucClosePunctuationPunctuation, close (Pe).
ucInitialPunctuationPunctuation, initial quote (Pi, may behave like Ps or Pe depending on usage).
ucFinalPunctuationPunctuation, final quote (Pf, may behave like Ps or Pe depending on usage).
ucOtherPunctuationPunctuation, other (Po).
ucMathSymbolSymbol, math (Sm).
ucCurrencySymbolSymbol, currency (Sc).
ucModifierSymbolSymbol, modifier (Sk).
ucOtherSymbolSymbol, other (So).
ucSpaceSeparatorSeparator, space (Zs).
ucLineSeparatorSeparator, line (Zl).
ucParagraphSeparatorSeparator, paragraph (Zp).
ucControlOther, control (Cc).
ucFormatOther, format (Cf).
ucSurrogateOther, surrogate (Cs).
ucPrivateUseOther, private use (Co).
ucUnassignedOther, not assigned (including noncharacters) (Cn).

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.