[Koha-patches] [PATCH] (bug #4020) XSLT unimarc display

Frederic Demians frederic at tamil.fr
Thu Dec 31 13:19:52 CET 2009


What impact has this patch on performances?

There isn't any issue with MARC21 biblio records. For me the issue comes 
from MARC::Record which doesn't handle properly UNIMARC records 
encoding. More precisely, in MARC::File::USMARC::decode function which 
is used by MARC::Record even for UNIMARC records. If you force raw 
ISO2709 UNIMARC record to UTF8 as MARC21 understand it, it solves the 
problem:

  substr( $rawmarc, 9, 1 ) = 'a';
  my $record = MARC::File::USMARC::decode( $rawmarc );

--
Frédéric




More information about the Koha-patches mailing list