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

Use u8 strings when dealing with file paths

This commit is contained in:
Hielke Morsink
2022-02-27 22:23:35 +01:00
parent 55c71b0c74
commit 6ba0a3bd49
27 changed files with 115 additions and 120 deletions

View File

@@ -80,7 +80,7 @@ std::string LocalisationService::GetLanguagePath(uint32_t languageId) const
{
auto locale = std::string(LanguagesDescriptors[languageId].locale);
auto languageDirectory = _env->GetDirectoryPath(DIRBASE::OPENRCT2, DIRID::LANGUAGE);
auto languagePath = Path::Combine(languageDirectory, locale + ".txt");
auto languagePath = Path::Combine(languageDirectory, locale + u8".txt");
return languagePath;
}