#include "blocxx/IConv.hpp"
#include "blocxx/Assertion.hpp"
#include "blocxx/Format.hpp"
#include "blocxx/Exec.hpp"
#include <cwchar>
#include <cwctype>
#include <errno.h>
Go to the source code of this file.
Namespaces | |
namespace | BLOCXX_NAMESPACE |
namespace | BLOCXX_NAMESPACE::IConv |
Functions | |
static void | BLOCXX_NAMESPACE::IConv::mayThrowStringConversionException () |
String | BLOCXX_NAMESPACE::IConv::fromByteString (const String &enc, const char *str, size_t len) |
Converts a C string from the specified encoding into a String object using UTF-8 encoding. | |
String | BLOCXX_NAMESPACE::IConv::fromByteString (const String &enc, const std::string &str) |
Converts a std::string from the specified encoding into a String object using UTF-8 encoding. | |
String | BLOCXX_NAMESPACE::IConv::fromWideString (const String &enc, const std::wstring &str) |
Converts a std::wstring from the specified encoding into a String object using UTF-8 encoding. | |
std::string | BLOCXX_NAMESPACE::IConv::toByteString (const String &enc, const String &utf8) |
Converts a UTF-8 String to the specified encoding casted as a (char based) std::string. | |
std::wstring | BLOCXX_NAMESPACE::IConv::toWideString (const String &enc, const String &utf8) |
Convert a UTF-8 String to the specified encoding casted as a (wchar_t based) std::wstring. |