Bug 18935 - MARC::Record->new_from_usmarc does not handle UNIMARC records
Summary: MARC::Record->new_from_usmarc does not handle UNIMARC records
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 18533 18910
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-13 10:02 UTC by Baptiste
Modified: 2017-07-13 10:07 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Baptiste 2017-07-13 10:02:41 UTC
The problem related by Bug 18533 is also concerning all calls to MARC::Record->new_from_usmarc (this function uses MARC::Record->encoding).

All imported marc notice from z3950 with 18152 active (versions after 16.11) are not considered as UTF-8 anymore by MARC::Record->new_from_usmarc and are also false encoded when imported in Koha.

Example of problematic call:
cataloguing/addbiblio.pl 

85         my $record = MARC::Record->new_from_usmarc($marc);