Function

GLib-2.0GLibunichar_get_scriptSince 2.14

  • Looks up the GLib.UnicodeScript 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.

    Parameters

    • ch: string

      a Unicode character

    Returns GLib.UnicodeScript

    the GLib.UnicodeScript for the character.

    2.14