Gio.CharsetConverter.new

function new(to_charset: String, from_charset: String): Gio.CharsetConverter {
    // Gjs wrapper for g_charset_converter_new()
}
  

Creates a new Gio.CharsetConverter.

Since 2.24

to_charset

destination charset

from_charset

source charset

Returns

a new Gio.CharsetConverter or null on error.