[Koha-bugs] [Bug 19436] Add SRU support for authorities

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 19 18:15:17 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19436

--- Comment #13 from Matthias Meusburger <matthias.meusburger at biblibre.com> ---
Okay, I had some trouble seeing what was going on here, but here we go:

Both parts (in handle_one_result and Z3950SearchAuth) were made to fix an
encoding problem, but I may have not made the best of fixes.

The problem comes from the fact that I tried to use the encoding string from
the Z3950 profiles for the MARC::Record->new_from_xml calls, just like it is
used for MarcToUTF8Record.

However, if MarcToUTF8Record recognizes 'UTF-8' as well as 'utf8',
MARC::Record->new_from_xml doesn't.

So I'm perfectly fine with your revert of _handle_one_result, and making the
calls in Z3950SearchAuth in line with _handle_one_result (with the use of the
'UTF-8' string in plain text in the code).

However, that would be assuming that all SRU servers are serving UTF-8 (are
they?).
In that case, we should disable the "Encoding" dropdown list in SRU servers
configuration.

What do you think ?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list