Re: ERROR : "\xF9" does not map to Unicode
[email protected] (Jordi Pallares)
| Newsgroups | perl.perl4lib |
|---|---|
| Message-ID | <[email protected]> |
Hi, I test without his lines and I have the same results. I attach a file with 1 record with error: "utf8 "\xF9" does not map to Unicode at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/Encode.pm line 162." I try to convert to marcXML record with yaz-marcdump and I works perfectly. I see the marcXMl record and I found an error in the field 008 after the country code I found a strange character. I don't know how it appears here but I found some in a few part of my catalog. Thanks for all. Jordi PallarÚs Llorens En/na Sébastien Hinderer ha escrit: > Hello Jordi, > >> my $setting = MARC::Charset->assume_unicode(1); >> my $ignore = MARC::Charset->ignore_errors(1); > > Are you sure these lines are necessary for your script ? > Perhaps you could try it without these and see what happens ? > Also, if you can put some small file with just a few records somewhere I > may be able to try and see what happens. > Other track: pass your file to yaz-mardump and see what happens. > > Good luck ! > Sébastien. > -- ***************************************** Jordi PallarÚs Llorens [email protected] Consorci de Biblioteques Università ries de Catalunya (CBUC) http://www.cbuc.es Tel: 93 205 13 06 ext.806 (NOU TELEFON) Fax: 93 205 01 50
provaerror.out
(application/octet-stream, 880 B) - not displayed