[Koha-bugs] [Bug 10068] New: Move from the utf8:: pragma methods to Encode::

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 16 19:36:06 CEST 2013


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

            Bug ID: 10068
           Summary: Move from the utf8:: pragma methods to Encode::
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: tomascohen at gmail.com

As stated by Larry Wall [1] we should not be using the loose (UTF-8
implementation) utf8::encode utf8::decode methods, and using Encode::encode and
 Encode::decode (respectively) instead, which are stricter.

At first sight this might have important consequences (breakage for people
having bad data). I belive it won't: we currently have reports on the lists of
people having trouble with wide characters and bad encodings on the lists. (I
think) several libs, we rely on, use UTF-8 instead of utf8. And we are not
catching encoding problems properly because of the mixture.

To+

[1] http://perldoc.perl.org/Encode.html#UTF-8-vs.-utf8-vs.-UTF8

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list