[Koha-bugs] [Bug 23542] SRU import encoding issue
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 29 14:12:28 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23542
--- Comment #11 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Ah I think I found the correct same code :
In Koha::MetadataRecord::Authority :
get_from_breeding {
my $record=eval
{MARC::Record->new_from_xml(StripNonXmlChars($marcxml),'UTF-8',
(C4::Context->preference("marcflavour") eq
"UNIMARC"?"UNIMARCAUTH":C4::Context->preference("marcflavour")))};
return if ($@);
$record->encoding('UTF-8');
So it is more "$record->encoding('UTF-8')" that is missing. It sets 'a' in
leader position 9.
This is called in SetMarcUnicodeFlag().
See also Bug 18153.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list