From 48773f660e6c0651a0df3db4418b7735658cd779 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 14 Mar 2014 11:29:34 +0100 Subject: [PATCH] Bug 11944: Encoding UTF8 in C4::Templates Signed-off-by: Paola Rossi Signed-off-by: Bernardo Gonzalez Kriegel Signed-off-by: Dobrica Pavlinusic Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- C4/Templates.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Templates.pm b/C4/Templates.pm index 73f37f5364..836d4e8e50 100644 --- a/C4/Templates.pm +++ b/C4/Templates.pm @@ -69,6 +69,7 @@ sub new { COMPILE_DIR => $use_template_cache ? C4::Context->config('template_cache_dir') : '', INCLUDE_PATH => \@includes, FILTERS => {}, + ENCODING => 'UTF-8', } ) or die Template->error(); my $self = { -- 2.39.5