From 7e5b71b0114453bf42ebed3aef715cff72bee87a Mon Sep 17 00:00:00 2001 From: Christopher Hall Date: Tue, 1 Feb 2011 11:42:44 +1300 Subject: [PATCH] needed in template params for utf8 data, seems to not mind being in two places --- C4/Templates.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Templates.pm b/C4/Templates.pm index a5981490a4..9a07d95232 100644 --- a/C4/Templates.pm +++ b/C4/Templates.pm @@ -108,6 +108,7 @@ sub param{ while(@_){ my $key = shift; my $val = shift; + utf8::encode($val) if utf8::is_utf8($val); $self->{VARS}->{$key} = $val; } } -- 2.39.5