Hi, sorry to revive an old thread but i have that same issue with 7.7.1-1 and i've tried debugging it some but have no clue why it does what it does.
My locales are configured correctly and terminal shows correct characters for utf8 filenames etc.: LANG=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL= and e.g. # ls Bj* Björk - All Is Full of Love Björk - Debut Björk - Selmasongs HOMOGENIC # However, starting the server gives an error about locale not being set correctly: Your locale was detected as C, you may have problems with non-Latin filenames. Consider changing your LANG variable to the correct locale, i.e. en_US.utf8 The weird thing is, the code that checks for the locale setting in Slim/Utils/OS.pm around line 280 sth returns a value of "C" for the CTYPE POSIX value _BUT_ the same code running the same perl module (i checked %ISA at runtime in both cases, same version, same .pm is called) returns the correct value: POSIX VERSION IS 200809 at testLocale.pl line 14. LC_TIME is de_DE.UTF-8, LC_CTYPE is de_DE.UTF-8 The question remains, why POSIX.pm returns the correct value in one case and the "C" locale in the case of the slimserver.. I have truly no idea, what or where the locale is overwritten(?) in the course of loading modules/... w/i logitechmediaserver. Any ideas/ pointers? I'm running archlinux on armel arch with Logitech Media Server (v7.7.1, r33735, Mon Nov 28 16:49:58 MST 2011) perl 5.014002 . I'm willing to debug/ patch & s.o. as the issue does seem to have an effect on scanning not running properly on my system. The scanning process simply hangs at some files with special characters. Thanks! -- aegide ------------------------------------------------------------------------ aegide's Profile: http://forums.slimdevices.com/member.php?userid=52457 View this thread: http://forums.slimdevices.com/showthread.php?t=71403
_______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
