#include <StringCodecs.hpp>
Static Public Member Functions | |
static std::wstring | fromUTF8 (const std::string &in) throw (CodecException) |
Converts UTF-8 encoded string to a wide string. | |
static std::string | toUTF8 (const std::wstring &in) throw (CodecException) |
Converts a wide string to a UTF-8 encoded string. | |
static std::wstring | fromString (const std::string &in) throw (CodecException) |
Converts user's locale encoded string to a wide string. | |
static std::string | toString (const std::wstring &in) throw (CodecException) |
Converts a wide string to a user's locale encoded string. |
Since the methods below rely on some static initialization, they should NOT be used at initialization time!