Function

GLib-2.0GLibunichar_isgraph

  • Determines whether a character is printable and not a space (returns false for control characters, format characters, and spaces). g_unichar_isprint() is similar, but returns true for spaces. Given some UTF-8 text, obtain a character value with g_utf8_get_char().

    Parameters

    • c: string

      a Unicode character

    Returns boolean

    true if c is printable unless it's a space