[Koha-bugs] [Bug 12279] Diacritics in system preference editor broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 22 13:56:35 CEST 2014


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28380|0                           |1
        is obsolete|                            |

--- Comment #13 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 28424
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28424&action=edit
Bug 12279: Diacritics in system preference editor broken

This patch changes how .pref files are read. Instead of going through
all our global ultra-tweaked C4::Templates->output method, it adds a new
one that takes care of decoding the .pref file data for storing in memory.

This might need to be re-done in the context of 11944, but at least provides
a clean workaround for 3.16.

To test:
- On clean master, install a translation like:
  cd misc/translator ; perl translate install fr-FR
- Go to sysprefs, opac
=> FAIL: descriptions are encoding-broken
- Apply the patch, reload
=> SUCCESS: Everything shows ok

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba

-- 
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