mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-20 20:59:18 +07:00
Changed translation files to always read in UTF-8 - should solve Desktop getting wierdly read characters, hopefully
This commit is contained in:
@ -89,7 +89,7 @@ object GameBasics {
|
||||
for (fileName in translationFileNames){
|
||||
val file = Gdx.files.internal("jsons/Translations/$fileName.json")
|
||||
if(file.exists()) {
|
||||
Translations.add(file.readString())
|
||||
Translations.add(file.readString(Charsets.UTF_8.name()))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user