Valadoc
|
Vala
|
Tutorial
|
API-References
|
Markup
Packages
gio-2.0
GLib
CharsetConverter
from_charset
to_charset
use_fallback
CharsetConverter
get_num_fallbacks
get_use_fallback
set_use_fallback
CharsetConverter
Object Hierarchy:
Description:
public
class
CharsetConverter
:
Object
,
Converter
,
Initable
CharsetConverter
is an implementation of
Converter
based on GIConv.
Namespace:
GLib
Package:
gio-2.0
Content:
Properties:
public
string
from_charset
{
construct
set
;
owned
get
; }
public
string
to_charset
{
construct
set
;
owned
get
; }
public
bool
use_fallback
{
construct
set
;
get
; }
Creation methods:
public
CharsetConverter
(
string
to_charset,
string
from_charset)
throws
Error
Creates a new
CharsetConverter
.
Methods:
public
uint
get_num_fallbacks
()
Gets the number of fallbacks that
converter
has applied so far.
public
bool
get_use_fallback
()
Gets the
use_fallback
property.
public
void
set_use_fallback
(
bool
use_fallback)
Sets the
use_fallback
property.