https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24123
Bug ID: 24123
Summary: bulkmarcimport.pl doesn't support UTF-8 encoded
MARCXML records
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Command-line Utilities
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected],
[email protected]
Importing an UTF-8 encoded MARC21 MARCXML record that has leader value in
position 09 equal 'a' (unicode) makes non-ascii characters like 'ä' to be
replaced with character '�'.
The command being run is
> misc/migration_tools/bulkmarcimport.pl -biblios -file record.marcxml
> -m=MARCXML -v -v
I tracked this problem down to the line
> $MARC::File::XML::_load_args{BinaryEncoding} = 'utf-8';
If you add that line again as first thing in the RECORD label block further
down in the bulkmarcimport.pl the problem is fixed.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/