From b5afda347661dbf4bebe19b133889bdb8e6093ec 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 --- C4/Templates.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Templates.pm b/C4/Templates.pm index 92c7554..32e4ae4 100644 --- a/C4/Templates.pm +++ b/C4/Templates.pm @@ -67,6 +67,7 @@ sub new { COMPILE_DIR => C4::Context->config('template_cache_dir')?C4::Context->config('template_cache_dir'):'',, INCLUDE_PATH => \@includes, FILTERS => {}, + ENCODING => 'UTF-8', } ) or die Template->error(); my $self = { -- 1.7.10.4