This will need to be tested quite well. To make sure it does not double encode
Created attachment 3455 [details] [review] Proposed Patch
Created attachment 3456 [details] [review] Followup patch
Tested with some already utf-8 encoded records, and it does not double encode. Signed off.
Pushed, please test
This bug is mentioned in: Bug 5965 : Normalizing opac-detail.pl http://lists.koha-community.org/pipermail/koha-patches/2011-March/014252.html Bug 5965 : Follow up patch, cleaned for style http://lists.koha-community.org/pipermail/koha-patches/2011-March/014253.html Bug 5965 : Normalizing opac-detail.pl http://lists.koha-community.org/pipermail/koha-patches/2011-March/014343.html Bug 5965 : Follow up patch, cleaned for style http://lists.koha-community.org/pipermail/koha-patches/2011-March/014344.html