EvEmu
0.8.4
11 September 2021
|
#include "utfUtils.h"
Go to the source code of this file.
Classes | |
class | UTFCodeParser |
Functions | |
std::string | codeToUTF8 (char32_t code) |
std::u16string | codeToUTF16 (char32_t code) |
std::u16string | utf8to16 (std::string &str) |
std::string | utf16to8 (std::u16string &str) |
std::u16string codeToUTF16 | ( | char32_t | code | ) |
Convert a 32 bit character code to a UTF16 string
code | The UTF32 character. |
Definition at line 85 of file utfUtils.cpp.
Referenced by UTFCodeParser::getUTF16().
std::string codeToUTF8 | ( | char32_t | code | ) |
Convert a 32 bit character code to a UTF8 string
code | The UTF32 character. |
Definition at line 33 of file utfUtils.cpp.
Referenced by UTFCodeParser::getUTF8().
std::string utf16to8 | ( | std::u16string & | str | ) |
Convert a UTF16 string to a UTF8 string
str | The UTF16 string. |
Definition at line 309 of file utfUtils.cpp.
References UTFCodeParser::addChar(), and UTFCodeParser::getUTF8().
Referenced by UnmarshalStream::LoadWStringUCS2(), and UnmarshalStream::LoadWStringUCS2Char().
std::u16string utf8to16 | ( | std::string & | str | ) |
Convert a UTF8 string to a UTF16 string
str | The UTF8 string. |
Definition at line 289 of file utfUtils.cpp.
References UTFCodeParser::addChar(), and UTFCodeParser::getUTF16().
Referenced by PasswordModule::GeneratePassHash().