- public bool validate ()
Checks whether ch
is a valid Unicode character.
- public bool isalnum ()
Determines whether a character is alphanumeric.
- public bool isalpha ()
Determines whether a character is alphabetic (i.
- public bool iscntrl ()
Determines whether a character is a control character.
- public bool isdigit ()
Determines whether a character is numeric (i.
- public bool isgraph ()
Determines whether a character is printable and not a space (returns
false for control characters, format characters, and spaces).
- public bool islower ()
Determines whether a character is a lowercase letter.
- public bool ismark ()
Determines whether a character is a mark (non-spacing mark, combining
mark, or enclosing mark in Unicode speak).
- public bool isprint ()
Determines whether a character is printable.
- public bool ispunct ()
Determines whether a character is punctuation or a symbol.
- public bool isspace ()
Determines whether a character is a space, tab, or line separator (
newline, carriage return, etc.
- public bool isupper ()
Determines if a character is uppercase.
- public bool isxdigit ()
Determines if a character is a hexidecimal digit.
- public bool istitle ()
Determines if a character is titlecase.
- public bool isdefined ()
Determines if a given character is assigned in the Unicode standard.
- public bool iswide ()
Determines if a character is typically rendered in a double-width
cell.
- public bool iswide_cjk ()
Determines if a character is typically rendered in a double-width cell
under legacy East Asian locales.
- public bool iszerowidth ()
Determines if a given character typically takes zero width when
rendered.
- public unichar toupper ()
Converts a character to uppercase.
- public unichar tolower ()
Converts a character to lower case.
- public unichar totitle ()
Converts a character to the titlecase.
- public int digit_value ()
Determines the numeric value of a character as a decimal digit.
- public int xdigit_value ()
Determines the numeric value of a character as a hexidecimal digit.
- public UnicodeType type ()
Classifies a Unicode character by type.
- public UnicodeBreakType break_type ()
Determines the break type of c
.
- public UnicodeScript get_script ()
Looks up the
UnicodeScript for a particular character (as defined by Unicode Standard Annex #24).
- public int to_utf8 (string? outbuf)
Converts a single character to UTF-8.
- public string? to_string ()
- public bool compose (unichar b, out unichar ch)
Performs a single composition step of the Unicode canonical
composition algorithm.
- public bool decompose (out unichar a, out unichar b)
Performs a single decomposition step of the Unicode canonical
decomposition algorithm.
- public size_t fully_decompose (bool compat, unichar[] result)
Computes the canonical or compatibility decomposition of a Unicode
character.
- public unichar clamp (unichar low, unichar high)