TUnicodeCategory enumeration
Unicode code point (character) category.
Declaration
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
ucUppercaseLetter | Letter, uppercase (Lu). |
ucLowercaseLetter | Letter, lowercase (Ll). |
ucTitlecaseLetter | Letter, titlecase (Lt). |
ucModifierLetter | Letter, modifier (Lm). |
ucOtherLetter | Letter, other (Lo). |
ucNonSpacingMark | Mark, nonspacing (Mn). |
ucCombiningMark | Mark, spacing combining (Mc). |
ucEnclosingMark | Mark, enclosing (Me). |
ucDecimalNumber | Number, decimal digit (Nd). |
ucLetterNumber | Number, letter (Nl). |
ucOtherNumber | Number, other (No). |
ucConnectPunctuation | Punctuation, connector (Pc). |
ucDashPunctuation | Punctuation, dash (Pd). |
ucOpenPunctuation | Punctuation, open (Ps). |
ucClosePunctuation | Punctuation, close (Pe). |
ucInitialPunctuation | Punctuation, initial quote (Pi, may behave like Ps or Pe depending on usage). |
ucFinalPunctuation | Punctuation, final quote (Pf, may behave like Ps or Pe depending on usage). |
ucOtherPunctuation | Punctuation, other (Po). |
ucMathSymbol | Symbol, math (Sm). |
ucCurrencySymbol | Symbol, currency (Sc). |
ucModifierSymbol | Symbol, modifier (Sk). |
ucOtherSymbol | Symbol, other (So). |
ucSpaceSeparator | Separator, space (Zs). |
ucLineSeparator | Separator, line (Zl). |
ucParagraphSeparator | Separator, paragraph (Zp). |
ucControl | Other, control (Cc). |
ucFormat | Other, format (Cf). |
ucSurrogate | Other, surrogate (Cs). |
ucPrivateUse | Other, private use (Co). |
ucUnassigned | Other, not assigned (including noncharacters) (Cn). |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
