* Marc Sherman shaped the electrons to say...
Alternatively, SlimServer could use Text::Unidecode to transliterate
unicode to US-ASCII for regions of the unicode character set that are
missing from the squeezebox fonts.
Text::Unidecode is a neat hack, but it has it's limitations, especially for
Hebrew.
And in the spirit of hacks, here's a quick patch if you want to try it out.
Text::Unidecode must be installed on your system.
http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Text-Unidecode-0.04.tar.gz
-D
--
It does not do to leave a live Dragon out of your calculations..
Index: Slim/Buttons/BrowseID3.pm
===================================================================
--- Slim/Buttons/BrowseID3.pm (revision 2685)
+++ Slim/Buttons/BrowseID3.pm (working copy)
@@ -10,6 +10,7 @@
use strict;
use File::Spec::Functions qw(:ALL);
use File::Spec::Functions qw(updir);
+use Text::Unidecode;
use Slim::Buttons::Common;
use Slim::Buttons::Playlist;
use Slim::Buttons::TrackInfo;
@@ -756,7 +757,7 @@
}
}
- return ($line1, $line2, $overlay1, $overlay2);
+ return (unidecode($line1), unidecode($line2), $overlay1, $overlay2);
}
sub browseID3dir {
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss