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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 20 14:55:29 CET 2018


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

--- Comment #15 from Matthias Meusburger <matthias.meusburger at biblibre.com> ---

> The second encoding parameter of new_from_xml is the desired result
> encoding. Since we want UTF-8, there is no need to pass utf8. The third
> parameter is the source format (UNIMARC, USMARC, MARC21), not the encoding.

Yes, my bad.


> Please specify what the problem was. What settings/encodings ?

Nothing to see here. In the end, it was a problem I created myself. Doh.


> The xml itself should contain an encoding too.

> No, that is a misunderstanding. We are converting to UTF-8 as an internal
> format for Koha, not as a source encoding.

Yes, indeed. 

However, if new_from_xml can manage the encoding of the xml by itself to
produce valid UTF-8, and we always use UTF-8 in Koha, this dropdown list
"Encoding (z3950 can send records in various encodings. Choose one):" is
completely useless when editing an SRU server, right?
If it is the case, shouldn't we disable it or hide it?

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


More information about the Koha-bugs mailing list