use warnings;
use CGI;
+use Encode;
use C4::Auth;
use C4::Context;
use C4::Koha;
local_currency => $local_currency, # currency code is used, because we do not know how a given currency is formatted.
);
- return YAML::Syck::Load( $tab_template->output() );
+ return YAML::Syck::Load( Encode::decode('UTF-8',$tab_template->output()) );
}
sub _get_chunk {
our $input = new CGI;
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
- { template_name => "admin/preferences.tmpl",
+ { template_name => "admin/preferences.tt",
query => $input,
type => "intranet",
authnotrequired => 0,