logo top
Main Page   Widgets   glibmm Namespaces   Book  

convert.h File Reference


Namespaces

namespace  Glib

Classes

class  Glib::ConvertError
 Exception class for charset conversion errors. More...
class  Glib::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.
Glib::ustring Glib::filename_display_basename (const std::string& filename)
 Returns the display basename for the particular filename, guaranteed to be valid UTF-8.
Glib::ustring Glib::filename_display_name (const std::string& filename)
 Converts a filename into a valid UTF-8 string.

Generated for glibmm 2.4 by Doxygen 1.5.1 © 1997-2001