GdkX11.X11Display.prototype.utf8_to_compound_text
function utf8_to_compound_text(str: String): [ok: Boolean, encoding: Gdk.Atom, format: Number(gint), ctext: ByteArray] {
// Gjs wrapper for gdk_x11_display_utf8_to_compound_text()
}
Converts from UTF-8 to compound text.
Since 2.24
- str
a UTF-8 string
- ok
true if the conversion succeeded, otherwise false
- encoding
location to store resulting encoding
- format
location to store format of the result
- ctext
location to store the data of the result