de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Issue: Translation Encoding & Proposal: File System
PostPosted: Tue Nov 17, 2015 10:54 pm 
Offline
Regular
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.


Top
 Profile Send private message 
 
 Re: Issue: Translation Encoding & Proposal: File System
PostPosted: Tue Nov 17, 2015 11:14 pm 
Offline
Site Admin
User avatar
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.


Top
 Profile Send private message 
 
 Re: Issue: Translation Encoding & Proposal: File System
PostPosted: Sat Dec 05, 2015 7:31 pm 
Offline
Site Admin
User avatar
I added a weak test in the [check] button of the editor, about case sensitivity. See in the next release.


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010 - 2020
This website uses session cookies only.