[Koha-bugs] [Bug 11906] Bad display of utf-8 chars in Patron lists (Datatable)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 26 21:47:51 CET 2014


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

--- Comment #10 from Galen Charlton <gmcharlt at gmail.com> ---
Created attachment 26615
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26615&action=edit
Bug 11906: ensure that Koha::Database uses UTF8 mode when connecting to
databases

This patch fixes an issue whereby the DBIx::Class schema objects
were not connecting to the underlying database in UTF8 mode.  This
most visibility manifested as patron list pages not displaying
diacritics correctly.

To test:

[1] Create a patron list, and make sure that it contains at least
    one patron whose name or patron category description contains
    a non-ASCII character.
[2] View the list contents; the diacritics should appear mangled.
[3] Apply the patch.
[4] View the patron list again.  This time, the diacritics should
    be displayed correctly.  Note that Apache will also log
    "list.pl: Wide character in print ...", but this is the lesser
    of two evils.
[5] Verify that prove -v t/db_dependent/Koha_Database.t passes.
[6] (extra credit) Verify that  t/db_dependent/Koha_Database.t
    passes when connect to a PostgreSQL database.

Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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