[Koha-bugs] [Bug 11290] members-home.pl displays badly if using non english templates and have a utf8 char in categorycode description

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 25 12:02:07 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11290

Jacek Ablewicz <abl at biblos.pk.edu.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abl at biblos.pk.edu.pl

--- Comment #7 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
Thank you for the patch, it's working for me as well.

That said, I wonder if instead of adding more and more html_entity to various
templates (there is an similar problem with, e.g., bug 10855, and probably more
like that), shouldn't we rather fix C4/Templates.pm?
I think the underlying cause for this particular problem in members.pl and
members-home.pl is that output()/utf8_arrayref()/utf8_hashref() subs in
Templates.pm do not know what to do with objects / blessed hashrefs (they treat
them as strings/scalars, actually calling utf8::is_utf8() on them etc.).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list