From 6d6c6c1d9f3ab7126415d9695068656b9e98ccb9 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 25 Jun 2015 12:54:51 -0400 Subject: [PATCH] Bug 14465 - Broken umlauts/diacritics in feedback of last checkout This was tested in 3.18 after upgrading to the security release. The feedback on the last checkout information introcuded by bug 13315 has encoding problems in the displayed title (see screenshot). This is a really prominent place to display broken encoding. Test Plan: 1) Apply this patch 2) Check out an item with broken encoding 3) Note the title now displays properly Signed-off-by: Amit Gupta Signed-off-by: Katrin Fischer We already put it in production... so this better works :) Signed-off-by: Liz Rea --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 681dbff3e4..09c1d30f66 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -1,6 +1,7 @@ [% USE Koha %] [% USE Branches %] [% USE KohaDates %] +[% USE EncodeUTF8 %] [% IF Koha.Preference('ExportRemoveFields') OR Koha.Preference('ExportWithCsvProfile') %] [% SET exports_enabled = 1 %] [% END %] @@ -596,7 +597,7 @@ No patron matched [% message %] [% IF ( issue ) %]
-

Checked out: [% issue.item.biblio.title %] ([% issue.item.barcode %]). Due on [% issue.date_due | $KohaDates %]

+

Checked out: [% issue.item.biblio.title | $EncodeUTF8 %] ([% issue.item.barcode %]). Due on [% issue.date_due | $KohaDates %]

[% END %] -- 2.39.5