[Koha-bugs] [Bug 6479] New: Encoding problem in "recievedlist" when the numbering formula contains utf-8 characters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 7 21:10:52 CEST 2011


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

             Bug #: 6479
           Summary: Encoding problem in "recievedlist" when the numbering
                    formula contains utf-8 characters
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Serials
        AssignedTo: colin.campbell at ptfs-europe.com
        ReportedBy: fcapovilla at live.ca
         QAContact: koha-bugs at lists.koha-community.org


Created attachment 4424
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4424
Corrections the encoding problem with "recievedlist"

If a numbering formula using utf-8 characters is used with a subscription("N°
{X}" for example), the "Received issues" list gets encoded incorrectly when the
number of received issues is greater than 1.

The problem is a double-encoding problem that happens when adding a new issue's
number to the content of the recievedlist field, because a utf-8 string gets
concatenated with a non-utf8 string.

Patch attached that converts the issue number to utf-8 before the concatenation
happens.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list