Azure C++ Utils 1.5.2+3
Azure REST API Helpers for Modern C++
|
Conversion Functions for ascii to wide, utf8 to wide and vice-versa. More...
#include <conversion-utils.hpp>
Static Public Member Functions | |
static std::string | asciiFromWide (const std::wstring &src) |
Convert given wide string to ascii encoded string. More... | |
static std::string | utf8FromWide (const std::wstring &src) |
Convert given wide string to utf8 encoded string. More... | |
static std::wstring | wideFromUtf8 (const std::string &src) |
Given a utf-8 encoded string returns a utf-16 in std::wstring. More... | |
static std::wstring | wideFromAscii (const std::string &src) |
Given an ascii encoded string returns a utf-16 in std::wstring. More... | |
Conversion Functions for ascii to wide, utf8 to wide and vice-versa.
Definition at line 56 of file conversion-utils.hpp.
|
inlinestatic |
Convert given wide string to ascii encoded string.
src | std::wstring input |
Definition at line 61 of file conversion-utils.hpp.
|
inlinestatic |
Convert given wide string to utf8 encoded string.
src | std::wstring input |
Definition at line 89 of file conversion-utils.hpp.
|
inlinestatic |
Given an ascii encoded string returns a utf-16 in std::wstring.
src | ascii encoded string |
Definition at line 138 of file conversion-utils.hpp.
|
inlinestatic |
Given a utf-8 encoded string returns a utf-16 in std::wstring.
src | Utf-8 encoded string |
Definition at line 117 of file conversion-utils.hpp.