[Koha-bugs] [Bug 11302] Template::output should deal with object

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 14 09:12:04 CET 2014


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

--- Comment #10 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
I suspect that touching encoding in C4::Template::output is wrong direction to
take.

I would rather decode utf-8 as soon as it arrives in Koha and have correct
encoding within perl code and then let TT deal with encoding it back to binary
bytes by using binmode( STDOUT, ":utf8" ); instead of traversing all hashes we
are passing to TT which has performance impact.

I will extend http://wiki.koha-community.org/wiki/Handling_UTF8_in_development
to include more information about it and prepare initial patch with replaces
usage of utf8::(en|de)code witn Encode::(en|de)code so we can see if this
approach is feasible.

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


More information about the Koha-bugs mailing list