Skip to content

Commit

Permalink
ICU support for OSX 10.6
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/awy/mirror/slim/7.6/trunk/server@31620 62299810-d8cb-41fd-93b7-d32162e5a4a4
  • Loading branch information
Andy Grundman committed Dec 12, 2010
1 parent 3cfeb4a commit 84a3e8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Binary file not shown.
3 changes: 3 additions & 0 deletions Slim/Utils/SQLiteHelper.pm
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ sub collate {
return "COLLATE $collation ";
}

# Point to our custom small ICU collation data file
$ENV{ICU_DATA} = Slim::Utils::OSDetect::dirsFor('strings');

my $dbh = Slim::Schema->dbh;

eval { $dbh->do("SELECT icu_load_collation('$collation', '$collation')") };
Expand Down
Binary file added icudt46l.dat
Binary file not shown.

0 comments on commit 84a3e8f

Please sign in to comment.