SexScripts : Issue: Translation Encoding & Proposal: File System - https://ss.deviatenow.com:443/viewtopic.php?f=6&t=556 | Page 1 of 1 |
Issue: Translation Encoding & Proposal: File System |
morgenkaffe [ Tue Nov 17, 2015 10:54 pm ] |
---|---|
Hey, I wanted to report a bug: As I am from Germany the Translations are automatically used, but the "Umlaute" are displayed as kind of random chars... When unpacking the jar I can look at the translation files and they look perfectly ok. Ubuntu reports: Code: $ file --mime texts_de.properties texts_de.properties: text/plain; charset=utf-8 It seems like the translations are being read in the wrong encoding. I'm curently avoiding this problem by forcing the language to be English with this script: Code: #!/bin/sh exec java -Djava.ext.dirs=lib -Dfile.encoding=UTF-8 -Duser.language=en -jar sexscripts.jar You should probably make it possible to change the language from the GUI so the user doesn't have to know Java internals... Additionally as a Linux user I keep having issues with the file names as most script developers seem to be working with Windows, they tend not to pay attention to case sensitivity. Since ext4 is case sensitive, this breaks a lot of image references. So my suggestion is to force case sensitivity. The other possibility would be to dynamically detect the correct path, but I guess that would get VERY complicated VERY fast... Greetings. |
Re: Issue: Translation Encoding & Proposal: File System |
doti [ Tue Nov 17, 2015 11:14 pm ] |
---|---|
We'll look again, this bad encoding for .properties files should had been resolved As it is possible to override Sexscrips simple API, nothing can be forced. But you can correct some scripts if you find those kind of problems. Most of the scripts are ok. |
Re: Issue: Translation Encoding & Proposal: File System |
doti [ Sat Dec 05, 2015 7:31 pm ] |
---|---|
I added a weak test in the [check] button of the editor, about case sensitivity. See in the next release. |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |