[Koha-bugs] [Bug 9114] exported MARC frameworks encoding should be UTF-8

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 17 17:43:25 CET 2014


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

Galen Charlton <gmcharlt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |Failed QA
                 CC|                            |gmcharlt at gmail.com

--- Comment #8 from Galen Charlton <gmcharlt at gmail.com> ---
This patch breaks the ODS format.  ODS is a fancy ZIP file, and therefore needs
to be written in binary mode.  I also observed that strings got double-encoded
upon export to the Excel XML format.

Marking failed QA for the regressions.

For folks testing future version of this patch, please test importing and
exporting all four formats. I also want to highlight a part of Marcel's comment
3: to reproduce the bug, you actually don't want Chinese characters or the like
in the framework you're exporting -- you want Western European diacritical
characters that are to be found in the ISO-8859-1 character set.  As Marcel
observed, if you've got non-Latin1 characters in your string, Perl is much more
likely to emit UTF8.  Of course, you should test with non-Latin1 characters
too, but they're less likely to trigger the bug.

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


More information about the Koha-bugs mailing list