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

--- Comment #13 from Matthias Meusburger <matthias.meusbur...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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/

Reply via email to