Skip Menu | will be shut down on March 1st, 2021.

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

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

Owner: Nobody in particular
Requestors: smcmilla [...]
smcphillips [...]

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 [...]
From: Steven McPhillips <smcphillips [...]>
Download (untitled) / with headers
text/plain 892b
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/ 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 <> IT Business Systems National Library of Australia
Subject: Bug 31521
Date: Tue, 31 Aug 2010 11:40:36 +1000
To: "bug-MARC-Record [...]" <bug-MARC-Record [...]>
From: Simon McMillan <smcmilla [...]>
Download (untitled) / with headers
text/plain 707b
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<><> CRICOS Provider Code 00003G

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to