Bug 14584: Encoding broken with system preferences
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 18 Aug 2015 17:40:31 +0000 (18:40 +0100)
committerChris Cormack <chris@bigballofwax.co.nz>
Tue, 22 Sep 2015 01:29:05 +0000 (13:29 +1200)
commit270187404e87bdae985e70a590834ed2dc5d49c7
tree2817e4a25b4d05ff447b1ce55b32d05778985ba2
parent01af0c4dc7b575f914753b265fc958f25ac30b9a
Bug 14584: Encoding broken with system preferences

The pref are double encoded.

From bug 12411:
"This will fix the encoding issues existing in 3.14 and 3.16.
The issue still appear in master but is fixed by bug 11944."

They should not have been pushed together.

Test plan:
1) You need an accentuated language installed.
2) Go to NoLoginInstructions pref, and add some accentuated message like
"Hélo médames é mècieüx"
3) refresh opac home page, message should be gibberish
4) apply patch.  Message should be ok now.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Works as expected.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit 813a047e236947a815c4be3c3dde38f19844b962)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Koha/Template/Plugin/Koha.pm