26 #ifndef __TERRALIB_COMMON_INTERNAL_CHARENCODINGCONV_H
27 #define __TERRALIB_COMMON_INTERNAL_CHARENCODINGCONV_H
108 std::string conv(
const std::string& src);
132 static std::string getCharEncodingName(
const CharEncoding& code);
141 static CharEncoding getCharEncodingType(
const std::string& name);
144 static void initialize();
166 #endif // __TERRALIB_COMMON_INTERNAL_CHARENCODINGCONV_H
CharEncoding
Supported charsets (character encoding).
iconv_t m_cd
The iconv state machine used to convert string from one character to another one. ...
Configuration flags for the TerraLib Common Runtime module.
This class deals with character encoding/decoding.
#define TECOMMONEXPORT
You can use this macro in order to export/import classes and functions from this module.
const CharEncoding m_fromCode
The origin charset.
const CharEncoding m_toCode
The target charset.
std::string TECOMMONEXPORT convert(const path &v)
URI path to string.
static std::map< CharEncoding, std::string > sm_encodingNames
Static map with the encoding names.