[Koha-devel] Module MARC::Record doesn't set well lenght in leader.

Zeno Tajoli z.tajoli at cineca.it
Mon Sep 30 16:29:28 CEST 2013


Hi,

Il 30/09/2013 16:08, Bernardo Gonzalez Kriegel ha scritto:
> Zeno,
> in a script I use to build auth records with MARC::Record I set
> explicitly utf8 for input and output.
>
> Are you doing something similar?
>
> open my $out, ">", $outfile;
> binmode($out, ":utf8");
>
> open my $in, "<:utf8", $infile or die("Can't open auth file!");
> ...
> $record->encoding( 'UTF-8' );
> ...
> print $out $record->as_usmarc();

I did something like this, but now I rechek the script with more
attention on the UTF-8 topic.
I wonder to be in mix situation:
-- same records with correct UTF-8
-- same records with uncorrect UTF-8.

Cheers
Zeno Tajoli











More information about the Koha-devel mailing list