Bug 6989

Summary: Patron categories not properly displayed if not pure ASCII
Product: Koha Reporter: Frédéric Demians <f.demians>
Component: PatronsAssignee: Frédéric Demians <f.demians>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: PATCH-Sent (DO NOT USE) CC: gmcharlt, paul.poulain, ropuch
Version: 3.6   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Proposed patch
[SIGNED-OFF] Bug 6989 Patron categories not properly displayed if not pure ASCII
Bug 6989 Patron categories not properly displayed if not pure ASCII

Description Frédéric Demians 2011-10-08 13:42:23 UTC
C4::Category module returns badly encoded patron categories when they are
containing non pure-ASCII characters.

To reproduce this bug:

  - Go in Administration > Patron Categories
  - Add a new category. Give it this code for example:
    Café
  - Click on Patrons link on top menu
  - Click on New button

    => You get 'Café' displayed without accent
Comment 1 Frédéric Demians 2011-10-08 13:46:31 UTC Comment hidden (obsolete)
Comment 2 Piotr Wejman 2011-10-11 15:36:12 UTC Comment hidden (obsolete)
Comment 3 Paul Poulain 2011-10-18 16:17:47 UTC
Created attachment 5961 [details] [review]
Bug 6989 Patron categories not properly displayed if not pure ASCII

C4::Category module returns badly encoded patron categories when they are
containing non pure-ASCII characters.

To reproduce this bug:

  - Go in Administration > Patron Categories
  - Add a new category. Give it this code for example:
    Café
  - Click on Patrons link on top menu
  - Click on New button

    => You get 'Café' displayed without accent

Signed-off-by: Piotr Wejman <ropuch@bagno.be>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Comment 4 Paul Poulain 2011-10-18 16:19:10 UTC
QA comment:
  * good test plan
  * patch fixes the problem, and is comparable to previous ones related to itemtypes

passed QA
Comment 5 Paul Poulain 2011-11-04 11:08:42 UTC
patch pushed, please test
Comment 6 Jared Camins-Esakov 2012-05-23 12:46:40 UTC
This was included in the 3.6 branch prior to 3.6.4.