mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-26 23:58:43 +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){
|
for (fileName in translationFileNames){
|
||||||
val file = Gdx.files.internal("jsons/Translations/$fileName.json")
|
val file = Gdx.files.internal("jsons/Translations/$fileName.json")
|
||||||
if(file.exists()) {
|
if(file.exists()) {
|
||||||
Translations.add(file.readString())
|
Translations.add(file.readString(Charsets.UTF_8.name()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user