diff options
| author | 2018-09-22 00:45:50 -0400 | |
|---|---|---|
| committer | 2018-10-02 16:10:01 +0200 | |
| commit | a4595bb93947c849c8101cac6de29f9f694f26b1 (patch) | |
| tree | 47d0c79fcc8e3e6382db526e3697d50b1b1fcb10 /src/common/string_util.h | |
| parent | Merge pull request #1407 from DarkLordZach/dlc (diff) | |
| download | yuzu-a4595bb93947c849c8101cac6de29f9f694f26b1.tar.gz yuzu-a4595bb93947c849c8101cac6de29f9f694f26b1.tar.xz yuzu-a4595bb93947c849c8101cac6de29f9f694f26b1.zip | |
string_util: remove ShiftJIS/CP1252 conversion function
We always use unicode internally. Any dirty work of conversion with other codec should be handled by frontend framework (Qt). Further more, ShiftJIS/CP1252 are not special (they are not code set used by 3ds, or any guest/host dependencies we have), so there is no reason to specifically include them
Diffstat (limited to 'src/common/string_util.h')
| -rw-r--r-- | src/common/string_util.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/string_util.h b/src/common/string_util.h index dcca6bc38..78b558405 100644 --- a/src/common/string_util.h +++ b/src/common/string_util.h | |||
| @@ -72,9 +72,6 @@ std::string ReplaceAll(std::string result, const std::string& src, const std::st | |||
| 72 | std::string UTF16ToUTF8(const std::u16string& input); | 72 | std::string UTF16ToUTF8(const std::u16string& input); |
| 73 | std::u16string UTF8ToUTF16(const std::string& input); | 73 | std::u16string UTF8ToUTF16(const std::string& input); |
| 74 | 74 | ||
| 75 | std::string CP1252ToUTF8(const std::string& str); | ||
| 76 | std::string SHIFTJISToUTF8(const std::string& str); | ||
| 77 | |||
| 78 | #ifdef _WIN32 | 75 | #ifdef _WIN32 |
| 79 | std::string UTF16ToUTF8(const std::wstring& input); | 76 | std::string UTF16ToUTF8(const std::wstring& input); |
| 80 | std::wstring UTF8ToUTF16W(const std::string& str); | 77 | std::wstring UTF8ToUTF16W(const std::string& str); |