Function

GLib-2.0GLibutf8_strup

  • Converts all Unicode characters in the string that have a case to uppercase. The exact manner that this is done depends on the current locale, and may result in the number of characters in the string increasing. (For instance, the German ess-zet will be changed to SS.)

    Parameters

    • str: string

      a UTF-8 encoded string

    • len: number

      length of str, in bytes, or -1 if str is nul-terminated.

    Returns string

    a newly allocated string, with all characters converted to uppercase.