StringTools class.
More...
#include <common.h>
|
| static std::string | WStringToUTF8String (const std::wstring &wstr) |
| | Conversion from unicode std::wstring to UTF8 std::string.
|
| static std::wstring | UTF8StringToWString (const std::string &str) |
| | Conversion from UTF8 std::string to unicode std::wstring.
|
◆ UTF8StringToWString()
| std::wstring StringTools::UTF8StringToWString |
( |
const std::string & | str | ) |
|
|
static |
Conversion from UTF8 std::string to unicode std::wstring.
- Parameters
-
| str | [in] UTF8 encoded string |
- Returns
- Return a unicode wstring
◆ WStringToUTF8String()
| std::string StringTools::WStringToUTF8String |
( |
const std::wstring & | wstr | ) |
|
|
static |
Conversion from unicode std::wstring to UTF8 std::string.
- Parameters
-
- Returns
- Return a UTF8 encoded string
The documentation for this class was generated from the following file: