Top |
GCharsetConverter * | g_charset_converter_new () |
void | g_charset_converter_set_use_fallback () |
gboolean | g_charset_converter_get_use_fallback () |
guint | g_charset_converter_get_num_fallbacks () |
char * | from-charset | Read / Write / Construct Only |
char * | to-charset | Read / Write / Construct Only |
gboolean | use-fallback | Read / Write / Construct |
GCharsetConverter * g_charset_converter_new (const gchar *to_charset
,const gchar *from_charset
,GError **error
);
Creates a new GCharsetConverter.
to_charset |
destination charset |
|
from_charset |
source charset |
|
error |
GError for error reporting, or |
Since: 2.24
void g_charset_converter_set_use_fallback (GCharsetConverter *converter
,gboolean use_fallback
);
Sets the “use-fallback” property.
Since: 2.24
gboolean
g_charset_converter_get_use_fallback (GCharsetConverter *converter
);
Gets the “use-fallback” property.
Since: 2.24
guint
g_charset_converter_get_num_fallbacks (GCharsetConverter *converter
);
Gets the number of fallbacks that converter
has applied so far.
Since: 2.24
“from-charset”
property “from-charset” char *
The character encoding to convert from.
Owner: GCharsetConverter
Flags: Read / Write / Construct Only
Default value: NULL
“to-charset”
property “to-charset” char *
The character encoding to convert to.
Owner: GCharsetConverter
Flags: Read / Write / Construct Only
Default value: NULL