MARC8 records with diacritics are exported with incorrect record length
Bug #1940702 reported by
Jason Stephenson
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
Evergreen version: 3.5.3
O/S: Ubuntu Bionic (18.04)
Pg Version: 9.6
I suspect this bug is actually in MARC::Charset and/or MARC::Record. When one exports records with diacritics in MARC8 encoding using the Evergreen marc_export program, the leader has an incorrect record size. It seems to increased by 1 for each diacritic character.
I'm attaching two versions of the same record exported from the CW MARS database that illustrates this with a single diacritic. The marc8.mrc file contains the record exported in MARC8 and has a length of 1183 in the leader when the length is actually 1182. The UTF-8 file (utf8.mrc) has the correct length in the leader.
tags: |
added: cat-marc removed: marc |
To post a comment you must log in.
Here's the UTF-8 version of the record with the correct header length. I've seen this with other records. This is just one of the shortest that demonstrates the problem.