![]() |
![]() |
Classes | |
class | ConvertError |
Exception class for charset conversion errors. More... | |
class | IConv |
Thin iconv() wrapper. More... | |
Functions | |
bool | Glib::get_charset () |
Get the charset used by the current locale. | |
bool | Glib::get_charset (std::string& charset) |
Get the charset used by the current locale. | |
std::string | Glib::convert (const std::string& str, const std::string& to_codeset, const std::string& from_codeset) |
Convert from one encoding to another. | |
std::string | Glib::convert_with_fallback (const std::string& str, const std::string& to_codeset, const std::string& from_codeset) |
Converts a string from one character set to another, possibly including fallback sequences for characters not representable in the output. | |
std::string | Glib::convert_with_fallback (const std::string& str, const std::string& to_codeset, const std::string& from_codeset, const Glib::ustring& fallback) |
Converts a string from one character set to another, possibly including fallback sequences for characters not representable in the output. | |
Glib::ustring | Glib::locale_to_utf8 (const std::string& opsys_string) |
Convert from the current locale's encoding to UTF-8. | |
std::string | Glib::locale_from_utf8 (const Glib::ustring& utf8_string) |
Convert from UTF-8 to the current locale's encoding. | |
Glib::ustring | Glib::filename_to_utf8 (const std::string& opsys_string) |
Converts a string which is in the encoding used for filenames into a UTF-8 string. | |
std::string | Glib::filename_from_utf8 (const Glib::ustring& utf8_string) |
Converts a string from UTF-8 to the encoding used for filenames. | |
std::string | Glib::filename_from_uri (const Glib::ustring& uri, Glib::ustring& hostname) |
Converts an escaped UTF-8 encoded URI to a local filename in the encoding used for filenames. | |
std::string | Glib::filename_from_uri (const Glib::ustring& uri) |
Converts an escaped UTF-8 encoded URI to a local filename in the encoding used for filenames. | |
Glib::ustring | Glib::filename_to_uri (const std::string& filename, const Glib::ustring& hostname) |
Converts an absolute filename to an escaped UTF-8 encoded URI. | |
Glib::ustring | Glib::filename_to_uri (const std::string& filename) |
Converts an absolute filename to an escaped UTF-8 encoded URI. |
|
Convert from one encoding to another.
|
|
Converts a string from one character set to another, possibly including fallback sequences for characters not representable in the output.
|
|
Converts a string from one character set to another, possibly including fallback sequences for characters not representable in the output.
Characters not in the target encoding will be represented as Unicode escapes
|
|
Converts an escaped UTF-8 encoded URI to a local filename in the encoding used for filenames.
|
|
Converts an escaped UTF-8 encoded URI to a local filename in the encoding used for filenames.
|
|
Converts a string from UTF-8 to the encoding used for filenames.
|
|
Converts an absolute filename to an escaped UTF-8 encoded URI.
|
|
Converts an absolute filename to an escaped UTF-8 encoded URI.
|
|
Converts a string which is in the encoding used for filenames into a UTF-8 string.
|
|
Get the charset used by the current locale.
|
|
Get the charset used by the current locale.
|
|
Convert from UTF-8 to the current locale's encoding. Convenience wrapper around Glib::convert().
|
|
Convert from the current locale's encoding to UTF-8. Convenience wrapper around Glib::convert().
|