https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19436
--- Comment #15 from Matthias Meusburger <[email protected]> --- > 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. _______________________________________________ Koha-bugs mailing list [email protected] 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/
