Jackie,

Out of curiosity, I looked briefly at the MARC record you provided, and
Tom is right. There is an e with an accent in the 505 that is UTF-8
encoded as 65 CC 81 (Unicode: 0065 0301). I also ran the script and it
ran without giving me the "wide character" message. As Tom said, if
you're using an older version of Perl (or MARC::Record, perhaps), then
that would explain it.

Jason Thomale
Metadata Librarian
Texas Tech University Libraries



-----Original Message-----
From: Thomas McNeely [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 12:52 PM
To: Jackie Shieh; perl4lib@perl.org
Subject: RE: Wide character

It didn't do this to me when I ran it. I'm only guessing, but it kinda
sounds like it gagged on a unicode character, maybe. Are you using Perl
5.8.x? I think unicode support was only introduced in Perl 5.6 and
considerably improved in 5.8. Maybe also check for the latest version of
MARC::Record.
Good luck,
Tom McNeely
Western Washington University Libraries




-----Original Message-----
From: Jackie Shieh [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 7:34 AM
To: perl4lib@perl.org
Subject: Wide character


I ran the attached script against a USMARC record
and MARC::Record responded with

    Wide character in print at 1test.pl line 119.

Line 119 is:
    print OUT $record->as_usmarc();

What does it mean?  Thank you for any help you can provide!

Regards,

--Jackie

|Jackie Shieh
|Special Projects & Collections Team
|Harlan Hatcher Graduate Library
|University of Michigan
|920 North University
|Ann Arbor, MI  48109-1205
|Phone: 734.936.2401   FAX: 734.615.9788
|E-mail: [EMAIL PROTECTED]

Reply via email to