From 023d6b9e36e9b280336115ac0fd02701c5723410 Mon Sep 17 00:00:00 2001 From: Christopher Hall Date: Tue, 21 Dec 2010 11:14:59 +1300 Subject: [PATCH] fix for umlauts in templates, XSLT still buggy --- C4/Templates.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Templates.pm b/C4/Templates.pm index a5981490a4..a3acd0821f 100644 --- a/C4/Templates.pm +++ b/C4/Templates.pm @@ -98,6 +98,7 @@ sub output { $vars->{$k} = $self->{VARS}->{$k}; } my $data; + binmode( STDOUT, ":utf8" ); $template->process( $self->filename, $vars, \$data) || die "Template process failed: ", $template->error();; return $data; } -- 2.39.5