mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-16 23:39:14 +00:00
Remove incorrect usage of "ASCII" and "ANSI"
Windows-1252 was sometimes being referred to as ASCII or ANSI in Dolphin, which is incorrect. ASCII is only a subset of Windows-1252, and ANSI is (rather improperly) used in Windows to refer to the current code page (which often is 1252 on Western systems, but can also be something entirely different). The commit also replaces "SJIS" with "Shift JIS". "SJIS" isn't misleading, but "Shift JIS" is more commonly used.
This commit is contained in:
parent
4ebd369218
commit
0f1ce0e1f4
13 changed files with 67 additions and 58 deletions
|
@ -735,7 +735,7 @@ bool CMemcardManager::ReloadMemcard(const std::string& fileName, int card)
|
|||
std::string title = memoryCard[card]->GetSaveComment1(fileIndex);
|
||||
std::string comment = memoryCard[card]->GetSaveComment2(fileIndex);
|
||||
|
||||
auto const string_decoder = memoryCard[card]->IsAsciiEncoding() ? CP1252ToUTF8 : SHIFTJISToUTF8;
|
||||
auto const string_decoder = memoryCard[card]->IsShiftJIS() ? SHIFTJISToUTF8 : CP1252ToUTF8;
|
||||
|
||||
wxTitle = StrToWxStr(string_decoder(title));
|
||||
wxComment = StrToWxStr(string_decoder(comment));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue