GUnicodeType

These are the possible character classifications from the Unicode specification. See Unicode Character Database.

Values

ValueMeaning
CONTROL0

General category "Other, Control" (Cc)

FORMAT1

General category "Other, Format" (Cf)

UNASSIGNED2

General category "Other, Not Assigned" (Cn)

PRIVATE_USE3

General category "Other, Private Use" (Co)

SURROGATE4

General category "Other, Surrogate" (Cs)

LOWERCASE_LETTER5

General category "Letter, Lowercase" (Ll)

MODIFIER_LETTER6

General category "Letter, Modifier" (Lm)

OTHER_LETTER7

General category "Letter, Other" (Lo)

TITLECASE_LETTER8

General category "Letter, Titlecase" (Lt)

UPPERCASE_LETTER9

General category "Letter, Uppercase" (Lu)

SPACING_MARK10

General category "Mark, Spacing" (Mc)

ENCLOSING_MARK11

General category "Mark, Enclosing" (Me)

NON_SPACING_MARK12

General category "Mark, Nonspacing" (Mn)

DECIMAL_NUMBER13

General category "Number, Decimal Digit" (Nd)

LETTER_NUMBER14

General category "Number, Letter" (Nl)

OTHER_NUMBER15

General category "Number, Other" (No)

CONNECT_PUNCTUATION16

General category "Punctuation, Connector" (Pc)

DASH_PUNCTUATION17

General category "Punctuation, Dash" (Pd)

CLOSE_PUNCTUATION18

General category "Punctuation, Close" (Pe)

FINAL_PUNCTUATION19

General category "Punctuation, Final quote" (Pf)

INITIAL_PUNCTUATION20

General category "Punctuation, Initial quote" (Pi)

OTHER_PUNCTUATION21

General category "Punctuation, Other" (Po)

OPEN_PUNCTUATION22

General category "Punctuation, Open" (Ps)

CURRENCY_SYMBOL23

General category "Symbol, Currency" (Sc)

MODIFIER_SYMBOL24

General category "Symbol, Modifier" (Sk)

MATH_SYMBOL25

General category "Symbol, Math" (Sm)

OTHER_SYMBOL26

General category "Symbol, Other" (So)

LINE_SEPARATOR27

General category "Separator, Line" (Zl)

PARAGRAPH_SEPARATOR28

General category "Separator, Paragraph" (Zp)

SPACE_SEPARATOR29

General category "Separator, Space" (Zs)

Meta