Temp fix so I can compile (UTF8Decode)

This commit is contained in:
PixieCore 2022-06-02 16:30:35 +02:00
parent 07533cb0c4
commit 3b46780a38
2 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@ string Base64Encode(const string& svInput);
string Base64Decode(const string& svInput);
string UTF8Encode(const wstring& wsvInput);
u32string UTF8Decode(const string& svInput);
string UTF8Decode(const string& svInput);
bool StringIsDigit(const string& svInput);
bool CompareStringAlphabetically(const string& svA, const string& svB);

View File

@ -434,7 +434,7 @@ string UTF8Encode(const wstring& wsvInput)
///////////////////////////////////////////////////////////////////////////////
// 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>
//{
@ -443,6 +443,7 @@ u32string UTF8Decode(const string& svInput)
//};
//std::wstring_convert<destructible_codecvt, char32_t> utf32_converter;
//return utf32_converter.from_bytes(svInput);
return "";
}
///////////////////////////////////////////////////////////////////////////////