Bug 18533 - MARC::Record->encoding does not handle UNIMARC records
Summary: MARC::Record->encoding does not handle UNIMARC records
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Bibliographic data support (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Galen Charlton
QA Contact: Testopia
Depends on: 18152
Blocks: 18935
  Show dependency treegraph
Reported: 2017-05-03 17:57 UTC by Jonathan Druart
Modified: 2017-07-13 10:04 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2017-05-03 17:57:49 UTC
Regarding bug 18152 MARC::Record->encoding should not be called directly from our codebase.
C4::Charset::SetMarcUnicodeFlag should call MARC::Record->encoding for MARC21 and NORMARC but does the UNIMARC trick for UNIMARC records.

It seems that MARC::Record->encoding calls should be replaced with C4::Charset::SetMarcUnicodeFlag everywhere.