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

2013-09-30 Thread Colin Campbell
On Mon, Sep 30, 2013 at 11:08:13AM -0300, Bernardo Gonzalez Kriegel wrote: > open my $in, "<:utf8", $infile or die("Can't open auth file!"); open my $in, "<:encoding(UTF-8)" is stricter. If this is a problem its probably the input filehandle that's at fault. Colin -- Colin Campbell Chief Softw

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

2013-09-30 Thread Zeno Tajoli
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 di

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

2013-09-30 Thread Bernardo Gonzalez Kriegel
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' ); ...

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

2013-09-30 Thread Zeno Tajoli
Hi Paul and all, Il 30/09/2013 01:55, Paul ha scritto: MARC (specifically LoC) tends to suggest that accented characters like é are in fact two chars ... and we've found this quite painful under some circumstances. You say you're importing from a text file (assuming UTF8). Can you try just put

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

2013-09-29 Thread Paul
At 10:41 PM 9/29/2013 +0200, Zeno Tajoli wrote: [snip] 3 "Invalid indicators \"\c^02\" forced to blanks in record 324 for tag 240\cJ" 4 'field does not end in end of field character in tag 850 in record 324' [snip] As I see the problem start for word 'Qohélet' in the tag 240 and

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

2013-09-29 Thread Zeno Tajoli
Hi to all, [sorry the previous mail is incomplete] I have a problem with creating marc21 records with module MARC::Record I create marc records from reading a text file, but the module doesn't set a correct lenght in the leader. So same subfields are cutted and I loose data inside subfiels and

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

2013-09-29 Thread Zeno Tajoli
Hi to all, I have a problem with creating marc21 records with module MARC::Record I create marc records from reading a text file, but the module doesn't set a correct lenght in the leader. So same subfields are cutted and I loose data inside subfiels and inside indicator. An example of proble