gio.charset_converter
Module for [CharsetConverter] class
Types 3
gio.charset_converter.CharsetConverter is an implementation of gio.converter.Converter based on glib.types.void*.
Methods
CharsetConverterGidBuilder builder() static nothrowGet builder for [gio.charset_converter.CharsetConverter] Returns: New builder objectstring fromCharset() @property nothrowGet `fromCharset` property. Returns: The character encoding to convert from.string toCharset() @property nothrowGet `toCharset` property. Returns: The character encoding to convert to.bool useFallback() @property nothrowGet `useFallback` property. Returns: Use fallback (of form `\<hexval>`) for invalid bytes.void useFallback(bool propval) @property nothrowSet `useFallback` property. Params: propval = Use fallback (of form `\<hexval>`) for invalid bytes.uint getNumFallbacks() nothrowGets the number of fallbacks that converter has applied so far. Returns: the number of fallbacks that converter has appliedbool getUseFallback() nothrowGets the #GCharsetConverter:use-fallback property. Returns: true if fallbacks are used by converterclassCharsetConverterGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gio.converter.ConverterGidBuilderImpl!T, gio.initable.InitableGidBuilderImpl!T
Fluent builder implementation template for gio.charset_converter.CharsetConverter
Methods
T fromCharset(string propval) nothrowSet `fromCharset` property. Params: propval = The character encoding to convert from. Returns: Builder instance for fluent chainingT toCharset(string propval) nothrowSet `toCharset` property. Params: propval = The character encoding to convert to. Returns: Builder instance for fluent chainingT useFallback(bool propval) nothrowSet `useFallback` property. Params: propval = Use fallback (of form `\<hexval>`) for invalid bytes. Returns: Builder instance for fluent chainingFluent builder for gio.charset_converter.CharsetConverter
Methods