Function

GLibunichar_validate

Declaration [src]

gboolean
g_unichar_validate (
  gunichar ch
)

Description [src]

Checks whether ch is a valid Unicode character.

Some possible integer values of ch will not be valid. U+0000 is considered a valid character, though it’s normally a string terminator.

Parameters

ch

Type: gunichar

A Unicode character.

Return value

Type: gboolean

TRUE if ch is a valid Unicode character.