unicharGetScript
fn
glib.types.UnicodeScript unicharGetScript(dchar ch)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.global.scriptForUnichar] and the two are interchangeable.
Parameters
ch | a Unicode character |
Returns
the #GUnicodeScript for the character.