[Koha-bugs] [Bug 28796] wrong number of parameters in new_from_xml call

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 18 11:45:51 CEST 2021


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

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julian.maurice at biblibre.com

--- Comment #2 from Julian Maurice <julian.maurice at biblibre.com> ---
I tried to import a MARCXML file encoded in ISO-8859-1. I set the correct
encoding in the form but no records were imported and I have this message in
logfile:

bib-1.iso88591.marcxml: :15: parser error : Input is not proper UTF-8, indicate
encoding !                                                                      
Bytes: 0xE0 0x20 0x6D 0x6F
    <subfield code="a">�</subfield>

The error is located in C4::ImportBatch::RecordsFromMARCXMLFile

MARC::File::XML::decode seems to ignore the encoding passed in parameters.

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


More information about the Koha-bugs mailing list