Open tychobrailleur opened 4 years ago
Hello @tychobrailleur. Merci beaucoup pour tes contributions. Je t'ai invité comme colaborateur si ça t'intéresse.
Hello @tychobrailleur. Merci beaucoup pour tes contributions. Je t'ai invité comme colaborateur si ça t'intéresse.
Avec plaisir ! Love the project. I am not that Android-savvy, but glad to help as much as I can.
When loading a saved adventure, the characters with diacritics are getting corrupted with for example “Bois éternel” getting encoded as “Bois éternel”, which suggests a double-encoding issue.
The problem is caused by
Properties#load(InputStream)
which assumes a latin-1 stream (how rude), so the fix is to use readers instead to avoid encoding problems. I don't know Kotlin so the fix may not be optimal.(this PR also deletes a spurious file that's not used)