Since we are doing encode all over the place if patron categories have utf-8 strings this page gets corrupted. Culprit is my @categories=C4::Category->all; which can be tested by replacing it with empty array like my @categories=() Unfortunately die to the way code is structured there is no easy solution for this problem.
Fortunately bug 6554 has nice side-effect of side-stepping this problem completely because it fixes encoding all over koha.
(In reply to comment #1) > Fortunately bug 6554 has nice side-effect of side-stepping this problem > completely because it fixes encoding all over koha. Unfortunately :) this has been reverted..
*** Bug 11212 has been marked as a duplicate of this bug. ***
This bug was fixed by subsequent code changes so no need to keep it open.