https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23542 --- Comment #21 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- (In reply to Marcel de Rooy from comment #20)
(In reply to Marcel de Rooy from comment #18)
The crux is adding the $marcrecord->encoding('UTF-8') ! You should not change the new_from_xml call. We should respect the syntax parameter here instead of the marc flavour of the Koha instance. If you configured BNF correctly, it will say UNIMARC in the syntax field.
Amending the patch.
Also note that we have syntax USMARC for many MARC21 targets. This is the field value for the MARC21/USMARC option in the syntax combo. Changing it would break the MARC21 search.
Ah oki. Its just strange that MarcToUTF8Record uses C4::Context->preference('marcflavour'). -- You are receiving this mail because: You are watching all bug changes.