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();
Bernardo
--
Bernardo Gonzalez Kriegel
[email protected]
On Mon, Sep 30, 2013 at 9:56 AM, Zeno Tajoli <[email protected]> wrote:
> 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 putting a plain "e" (or the old fashioned IBM 130, or ANSI 0233) in
>> this biblio to see if it works properly? Koha appears to never have
>> problems with today's UTF char_set based on the older single chars.
>>
>
> I insert a plain 'e' inside the record and all is OK
> In fact I also modified lenght in leader from 00859 to 00861
> and now with 'é' all is OK
>
> My text file is UTF-8.
> It is during the creation of MARC blob that leader lenght is set
> in a wrong way.
>
> But I don't underdstood why.
>
> Cheers
>
> Zeno Tajoli
> --
> Dr. Zeno Tajoli
> Dipartimento Gestione delle Informazioni e della Conoscenza
> [email protected]
> fax +39 02 2135520
> CINECA - Sede operativa di Segrate
> ______________________________**_________________
> Koha-devel mailing list
> [email protected]**community.org<[email protected]>
> http://lists.koha-community.**org/cgi-bin/mailman/listinfo/**koha-devel<http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel>
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.**org/ <http://bugs.koha-community.org/>
>
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/