FAQ  •  Register  •  Login

Problem with polish characters

<<

jacek-1210

Serviio newbie

Posts: 5

Joined: Sat Aug 29, 2015 11:01 am

Post Sat Aug 29, 2015 11:28 am

Problem with polish characters

Hi,

I have some problem:

I have old opensuse 11.4 with serviio 1.2 rpm, sun java 1.6 and works good

Now I install opensuse 13.2 with serviio 1.2 rpm (1.5.2 serviio give me 52 stack overflow error on sun java 1.8 and open java 1.8 and lower) and sun java 1.8 work, but not see (not index) files with polish characters. Yesterday, for a moment its run when I change to sun java 1.6, but after several attemps, everything fails and now, after erase and reinstal serviio, run allways with MediaServer file encoding US-ASCII :( I modify serviio.sh in java oprions I added -Dsun.jnu.encoding=UTF-8 -Dfile.encoding=UTF-8. Now work MediaServer file encoding UTF-8, but still not index files with polish characters. I have set LC_ALL=pl_PL.UTF-8, but in serviio didnt work :( In log is:

(...)
015-08-29 13:21:25,818 DEBUG [MediaItemDAOImpl] Media item DSC_0001.JPG already exists in DB
2015-08-29 13:21:25,818 DEBUG [LibraryAdditionsCheckerThread] Found file 'Dowi��zanie do DSC_0002.JPG', checking if it's already in the Library
2015-08-29 13:21:25,818 DEBUG [MediaItemDAOImpl] Checking if DB already contains media item Dowi��zanie do DSC_0002.JPG
2015-08-29 13:21:25,818 DEBUG [MediaItemDAOImpl] Looking up a media item for file path: /XXC/Dowi��zanie do DSC_0002.JPG, ignore case: false
2015-08-29 13:21:25,818 DEBUG [MediaItemDAOImpl] Media item Dowi��zanie do DSC_0002.JPG doesn't exist in DB yet
2015-08-29 13:21:25,819 DEBUG [LibraryAdditionsCheckerThread] Found file 'Dowiaaazanie do DSC_0002.JPG', checking if it's already in the Library
2015-08-29 13:21:25,819 DEBUG [MediaItemDAOImpl] Checking if DB already contains media item Dowiaaazanie do DSC_0002.JPG
2015-08-29 13:21:25,819 DEBUG [MediaItemDAOImpl] Looking up a media item for file path: /XXC/Dowiaaazanie do DSC_0002.JPG, ignore case: false
2015-08-29 13:21:25,819 DEBUG [MediaItemDAOImpl] Media item Dowiaaazanie do DSC_0002.JPG already exists in DB
(..)
as see, serviio insert question marks in places polish characters

whats wrong ?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Sep 01, 2015 11:24 am

Re: Problem with polish characters

<<

jacek-1210

Serviio newbie

Posts: 5

Joined: Sat Aug 29, 2015 11:01 am

Post Tue Sep 01, 2015 8:17 pm

Re: Problem with polish characters

I read this all before write post. Actually serviio completely "dont see" files with polish characters. Problem -probably- is, that early serviio run in logs as UTF-8 MediaServer and now (probably after fail install & deinstall of java 1.7) serviio run as US-ASCII (?). Does not help setting LC_ALL=pl_PL.UTF-8. Maybe problem is in the crashed system, but I dont know how to work to properly. It helps only setting -Dserviio.home=$SERVIIO_HOME -Dsun.jnu.encoding=UTF-8 -Dfile.encoding=UTF-8 in java opts in serviio.sh, serviio have in log UTF-8 MediaServer, but I think that this is only extortion and serviio still not working in UTF-8. From where serviio get language settings ? Files with polish characters are good, when I try convmv -r -f ISO-8859-1 -t UTF-8 --notest * I get "skipping, already UTF-8"
My locale:

LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=pl_PL.UTF-8


many times I deinstall and again installed serviio, but it does not help
I cant reinstall all OS (openSUSE 13.2), but I have many other installed applications. I must repair & run serviio without reinstall OS. Help me please
<<

jacek-1210

Serviio newbie

Posts: 5

Joined: Sat Aug 29, 2015 11:01 am

Post Wed Sep 02, 2015 6:15 am

Re: Problem with polish characters

Its crazy... I look at my old opensuse 11.4 and see, that serviio run as US-ASCII MediaServer, on standard config and pretty index polish files. I dont think so. Probably is some misch-masch on 13.2 with polish language: standard is pl_PL.UTF-8 but directory is pl_PL.utf8. In 11.4 is locale "language=pl_PL.utf8" but in 13.2 is locale "language=pl_PL.UTF-8". I dont know what write in suse and serviio configs
<<

jacek-1210

Serviio newbie

Posts: 5

Joined: Sat Aug 29, 2015 11:01 am

Post Thu Sep 03, 2015 10:22 pm

Re: Problem with polish characters

How can debugging serviio ? I set in config DEBUG instead INFO, but I need something more accurate, what could I check how the encoding fonts reads serviio ?

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 7 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.