[Koha-bugs] [Bug 16370] New: Set the record encoding to UTF8 when TransformHtmlToMarc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 27 17:24:36 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16370

            Bug ID: 16370
           Summary: Set the record encoding to UTF8 when
                    TransformHtmlToMarc
 Change sponsored?: ---
           Product: Koha
           Version: 3.22
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: MARC Bibliographic data support
          Assignee: gmcharlt at gmail.com
          Reporter: cdufour-keyword-koha.b708e6 at idiap.ch
        QA Contact: testopia at bugs.koha-community.org

Created attachment 50819
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50819&action=edit
TransformHtmlToMarc-UTF8.patch

Hello,

Using Koha 3.22.05 (Debian 8 packaging), I noticed that creating a new
authority record in the web interface would lead to character encoding
inconsistencies when the leader is not included in the MARC editor (which I
felt is not necessary for authority records): in the database, the
"auth_header.marc" (blob) would still have a "MARC-8" leader, despite the
content being correctly UTF-8 encoded.

I tracked the issue down to the new MARC record not being initialized as UTF-8
encoded when being created from the web interface (=> TransformHtmlToMarc).

The one-liner attached patch solved that issue.

Best,

Cédric

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


More information about the Koha-bugs mailing list