Function

GLib-2.0GLibstr_is_asciiSince 2.40

  • Determines if a string is pure ASCII. A string is pure ASCII if it contains no bytes with the high bit set.

    Parameters

    • str: string

      a string

    Returns boolean

    true if str is ASCII

    2.40