--- squeezecenter-7.0.1/slimserver.pl 2008-05-01 09:40:25.000000000 +0200 +++ squeezecenter-7.0.1-patched/slimserver.pl 2008-06-13 20:01:39.000000000 +0200 @@ -257,6 +257,7 @@ $perfwarn, $checkstrings, $d_startup, # Needed for Slim::bootstrap + $forceutf8, ); sub init { @@ -280,6 +281,9 @@ eval "use diagnostics"; } + # handle --forceutf8 + $Slim::Utils::Unicode::lc_ctype = 'utf8' if $forceutf8; + Slim::Utils::OSDetect::init(); # initialize SqueezeCenter subsystems @@ -587,6 +591,7 @@ --perfwarn => Generate log messages if internal tasks take longer than specified threshold --checkstrings => Enable reloading of changed string files for plugin development --logging => Enable logging for the specified comma separated categories + --forceutf8 => Forces SqueezeCenter into UTF-8 mode (use with caution). Commands may be sent to the server through standard in and will be echoed via standard out. See complete documentation for details on the command syntax. @@ -632,6 +637,7 @@ 'perfwarn=s' => \$perfwarn, # content parsed by Health plugin if loaded 'checkstrings' => \$checkstrings, 'd_startup' => \$d_startup, # Needed for Slim::bootstrap + 'forceutf8' => \$forceutf8, ); initLogging();