Function

GLib-2.0GLibunichar_to_utf8

  • Converts a single character to UTF-8.

    Parameters

    • c: string

      a Unicode character code

    Returns [number, string]

    number of bytes written