mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Second and final pass of clearing out tabs.
This commit is contained in:
parent
a8ca2c6cc2
commit
3fd87a7636
242 changed files with 1706 additions and 1702 deletions
|
@ -520,11 +520,7 @@ std::string SHIFTJISToUTF8(const std::string& input)
|
|||
|
||||
std::string UTF16ToUTF8(const std::wstring& input)
|
||||
{
|
||||
std::string result =
|
||||
// CodeToUTF8("UCS-2", input);
|
||||
// CodeToUTF8("UCS-2LE", input);
|
||||
// CodeToUTF8("UTF-16", input);
|
||||
CodeToUTF8("UTF-16LE", input);
|
||||
std::string result = CodeToUTF8("UTF-16LE", input);
|
||||
|
||||
// TODO: why is this needed?
|
||||
result.erase(std::remove(result.begin(), result.end(), 0x00), result.end());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue