1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 02:35:46 +01:00

Rename String::Convert() to String::ConvertToUtf8()

This commit is contained in:
Gymnasiast
2022-05-01 17:57:51 +02:00
parent 22c44fac71
commit 6fcfd481ab
4 changed files with 8 additions and 55 deletions

View File

@@ -121,5 +121,5 @@ std::string rct2_to_utf8(std::string_view src, RCT2LanguageId languageId)
}
auto decoded = DecodeToMultiByte(src);
return String::Convert(decoded, codePage, CODE_PAGE::CP_UTF8);
return String::ConvertToUtf8(decoded, codePage);
}