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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user