Function

GLibunichar_get_script

Declaration

GUnicodeScript
g_unichar_get_script (
  gunichar ch
)

Description

Looks up the GUnicodeScript for a particular character (as defined by Unicode Standard Annex #24). No check is made for ch being a valid Unicode character; if you pass in invalid character, the result is undefined.

This function is equivalent to pango_script_for_unichar() and the two are interchangeable.

Available since:2.14

Parameters

ch gunichar
 

A Unicode character.

Return value

Returns: GUnicodeScript
 

The GUnicodeScript for the character.