Function

GLibunichar_validate

Declaration

gboolean
g_unichar_validate (
  gunichar ch
)

Description

Checks whether ch is a valid Unicode character. Some possible integer values of ch will not be valid. 0 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.