mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Temp fix so I can compile (UTF8Decode)
This commit is contained in:
parent
07533cb0c4
commit
3b46780a38
@ -28,7 +28,7 @@ string Base64Encode(const string& svInput);
|
|||||||
string Base64Decode(const string& svInput);
|
string Base64Decode(const string& svInput);
|
||||||
|
|
||||||
string UTF8Encode(const wstring& wsvInput);
|
string UTF8Encode(const wstring& wsvInput);
|
||||||
u32string UTF8Decode(const string& svInput);
|
string UTF8Decode(const string& svInput);
|
||||||
|
|
||||||
bool StringIsDigit(const string& svInput);
|
bool StringIsDigit(const string& svInput);
|
||||||
bool CompareStringAlphabetically(const string& svA, const string& svB);
|
bool CompareStringAlphabetically(const string& svA, const string& svB);
|
||||||
|
@ -434,7 +434,7 @@ string UTF8Encode(const wstring& wsvInput)
|
|||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// For decoding data in UTF8.
|
// For decoding data in UTF8.
|
||||||
u32string UTF8Decode(const string& svInput)
|
string UTF8Decode(const string& svInput)
|
||||||
{
|
{
|
||||||
//struct destructible_codecvt : public std::codecvt<char32_t, char, std::mbstate_t>
|
//struct destructible_codecvt : public std::codecvt<char32_t, char, std::mbstate_t>
|
||||||
//{
|
//{
|
||||||
@ -443,6 +443,7 @@ u32string UTF8Decode(const string& svInput)
|
|||||||
//};
|
//};
|
||||||
//std::wstring_convert<destructible_codecvt, char32_t> utf32_converter;
|
//std::wstring_convert<destructible_codecvt, char32_t> utf32_converter;
|
||||||
//return utf32_converter.from_bytes(svInput);
|
//return utf32_converter.from_bytes(svInput);
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user