mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Add functions for converting between UTF-8/16.
This commit is contained in:
parent
9ff704f202
commit
0ea458b4dc
2 changed files with 41 additions and 0 deletions
|
@ -97,4 +97,11 @@ std::string ReplaceAll(std::string result, const std::string& src, const std::st
|
|||
std::string UriDecode(const std::string & sSrc);
|
||||
std::string UriEncode(const std::string & sSrc);
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
std::string UTF16ToUTF8(const std::wstring& str);
|
||||
std::wstring UTF8ToUTF16(const std::string& str);
|
||||
|
||||
#endif
|
||||
|
||||
#endif // _STRINGUTIL_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue