--- trunk2/lib/WebPAC/jsFind.pm 2004/10/24 11:20:12 539 +++ trunk2/lib/WebPAC/jsFind.pm 2004/10/24 14:51:53 540 @@ -4,7 +4,7 @@ use strict; use Carp; -use jsFind 0.04; +use jsFind 0.06; use Log::Log4perl qw(get_logger :levels); =head1 NAME @@ -166,7 +166,11 @@ $log->debug("saving index '$index_name' xml files to '$path'"); - $self->tree($index_name)->to_jsfind($path,'ISO-8859-2','UTF-8'); + $self->tree($index_name)->to_jsfind( + dir => $path, + data_codepage => 'ISO-8859-2', + index_codepage => 'UTF-8' + ); if ($log->is_debug()) { my $dot_file = $index_name.".dot";