#include <StringCodecs.hpp>
Static Public Member Functions | |
static std::wstring | fromASCII (const std::string &in) throw (CodecException) |
Converts ASCII "encoded" string to a wide string. | |
static std::wstring | fromString (const std::string &in) throw (CodecException) |
Converts user's locale encoded string to a wide string To be used for conversions of locale dependent strings, eg. | |
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!
static std::wstring CarobNS::StaticCodecs::fromASCII | ( | const std::string & | in | ) | throw (CodecException) [inline, static] |
Converts ASCII "encoded" string to a wide string.
To be used only when the input string is definitely ASCII
in | ASCII string to convert |
static std::wstring CarobNS::StaticCodecs::fromString | ( | const std::string & | in | ) | throw (CodecException) [inline, static] |
Converts user's locale encoded string to a wide string
To be used for conversions of locale dependent strings, eg.
system messages
in | string to convert |