Changed translation files to always read in UTF-8 - should solve Desktop getting wierdly read characters, hopefully

This commit is contained in:
Yair Morgenstern
2019-11-17 22:38:30 +02:00
parent 80d9b3bd49
commit 2d94cc2179

View File

@ -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()))
}
}
}