@@ -, +, @@ --- Koha/Template/Plugin/Koha.pm | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) --- a/Koha/Template/Plugin/Koha.pm +++ a/Koha/Template/Plugin/Koha.pm @@ -18,6 +18,7 @@ package Koha::Template::Plugin::Koha; # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use Modern::Perl; +use Encode qw( encode ); use base qw( Template::Plugin ); @@ -41,7 +42,7 @@ is necessary. sub Preference { my ( $self, $pref ) = @_; - return C4::Context->preference( $pref ); + return encode('UTF-8', C4::Context->preference( $pref ) ); } 1; --