Enumeration

unigc

General category.

Since v1.0
enum unigc {
    ...
}

Constants 🔗

UNI_UPPERCASE_LETTER

An uppercase letter.

UNI_LOWERCASE_LETTER

A lowercase letter.

UNI_TITLECASE_LETTER

A titlecase letter.

UNI_MODIFIER_LETTER

A modifier letter.

UNI_OTHER_LETTER

An ideograph or letter in a unicase alphabet.

UNI_NONSPACING_MARK

A non-spacing combining mark (zero advance width).

UNI_SPACING_MARK

A spacing combining mark (positive advance width).

UNI_ENCLOSING_MARK

An enclosing combining mark.

UNI_DECIMAL_NUMBER

A decimal digit.

UNI_LETTER_NUMBER

A letter-like numeric character.

UNI_OTHER_NUMBER

A numeric character of 'other' type.

UNI_CONNECTOR_PUNCTUATION

A connecting punctuation mark.

UNI_DASH_PUNCTUATION

A dash or hyphen punctuation mark.

UNI_OPEN_PUNCTUATION

An opening punctuation mark (of a pair).

UNI_CLOSE_PUNCTUATION

An closing punctuation mark (of a pair).

UNI_INITIAL_PUNCTUATION

An initial quotation mark.

UNI_FINAL_PUNCTUATION

A final quotation mark.

UNI_OTHER_PUNCTUATION

A punctuation mark of other type.

UNI_MATH_SYMBOL

A mathematical symbol.

UNI_CURRENCY_SYMBOL

A currency symbol.

UNI_MODIFIER_SYMBOL

A non-letterlike modifier symbol.

UNI_OTHER_SYMBOL

A symbol of 'other' type.

UNI_SPACE_SEPARATOR

A space character (of various non-zero widths).

UNI_LINE_SEPARATOR

A code point representing a line separation.

UNI_PARAGRAPH_SEPARATOR

A code point representing a paragraph separation.

UNI_CONTROL

A control character.

UNI_FORMAT

A format control character.

UNI_SURROGATE

A surrogate character.

UNI_PRIVATE_USE

A private use character.

UNI_UNASSIGNED

An unassigned code point or a non-character.

Discussion 🔗

A code point only has one assigned General Category. See uni_gc for details on retrieving any character’s general category.