Skip Menu |

This queue is for tickets about the MARC-Record CPAN distribution.

Report information
The Basics
Id: 31521
Status: new
Priority: 0/
Queue: MARC-Record

People
Owner: Nobody in particular
Requestors: smcmilla [...] une.edu.au
smcphillips [...] nla.gov.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: bug / "not playing nice issue" with utf8 - MARC::Record v2.0.0
Date: Fri, 14 Dec 2007 12:40:40 +1100
To: bug-MARC-Record [...] rt.cpan.org
From: Steven McPhillips <smcphillips [...] nla.gov.au>
Hi, I've got an issue with some marc records containing bad utf8 data. At the moment, the MARC::Record module seems to barf at creation from the MARC::Batch->next() call, reporting something like: utf8 "\xE2" does not map to Unicode at /usr/local/perl/shared/perl/ 5.8.5-09/lib/5.8.5/sun4-solaris/Encode.pm line 16 The problem I have here is that I can't catch this too easily, apart from performing an eval{} around the MARC::Batch->next() call. So I realise this isn't really a bug, but seeing as you have a strict_off() subroutine for MARC::Batch, I was wondering if perhaps you could fail a bit more gracefully in the event of decoding issues. Thoughts? my system details: perl -v : 5.8.5 uname -a : SunOS meroo 5.9 Generic_118558-30 sun4u sparc SUNW,Sun- Fire-880 ---- Steven McPhillips <smcphillips@nla.gov.au> IT Business Systems National Library of Australia
Subject: Bug 31521
Date: Tue, 31 Aug 2010 11:40:36 +1000
To: "bug-MARC-Record [...] rt.cpan.org" <bug-MARC-Record [...] rt.cpan.org>
From: Simon McMillan <smcmilla [...] une.edu.au>
I would like to support the request by Steven McPhillips regarding bug 31521. A graceful fail from MARC::Batch-next() would be more than helpful. Although in his, and my, case incoming data is the real culprit, a useful error message would help users who are likely to have an abiding interesting in cleaning up bad records ;-) Regards Simon McMillan e-publications@UNE Manager Dixson Library University of New England Armidale NSW 2351 Australia Phone 61 2 6773 4233 Facsimile 61 2 6773 3943 Mobile 0403 521 984 Email simon.mcmillan@une.edu.au<mailto:Simon%20McMillan%20%3csimon.mcmillan@une.edu.au%3e> e-publications.une.edu.au<http://e-publications.une.edu.au/> CRICOS Provider Code 00003G