Re: utf-8 code: \xAE not map

[email protected] (Jackie Shieh)
Newsgroups perl.perl4lib
Message-ID <[email protected]>
Mike,

Attached is the questionable marc record.
The error message came from the command line.

% marcdump 50987256.mrc

I believe we have upgraded to the most recent version
(v.2) from CPAN. What is the current MARC::Charset module
we should have?

After sending my query, I kept coming across more
records on the same Charset not map issue.
Thanks for your help!

--Jackie

On Wed, 28 Mar 2007, Mike Rylander wrote:

> On 3/28/07, Jackie Shieh <[email protected]> wrote:
>> 
>> I am looking at a set of 7000+ records-- 514th rec is a record
>> that contains transliteration for Amharic (Ethiopian) on corporate
>> body. MARC::Record does not have a map to it. See attached
>> screen shot.
>> 
>> utf8 "\xAE" does not map to Unicode at
>> /usr/lib/perl5/5.8.6/i386-linux-thread-multi/Encode.pm line 166.
>> 
>> Have you come across something like this?  How did you get
>> around it?!  Thanks for your help!
>
> Looking at the code map for MARC8, it seems this record is in fact
> MARC8 encoded.  We need to confirm what code of yours is using Perl's
> Encode module,  but my guess is that it's a very old MARC::Charset
> module.  Can you show us a simplified example script that exhibits
> this behavior?
>
> TIA
>
> -- 
> Mike Rylander
> [email protected]
> GPLS -- PINES Development
> Database Developer
> http://open-ils.org
>
50987256.mrc (text/plain, 1.1 KB)
01176cas a2200325 a 450000100100000000500170001000800410002701000150006803500370008303500210012003500220014103500230016304000180018604200070020404300120021105000210022308200110024411000520025524500600030726000670036730000300043431000110046450000650047550000440054061000650058465000420064965000600069185200860075199800130083700434051020061208142731.0021112c199u9999et ar         0    0eng    a2002375638  a(OCoLC)50987256z(OCoLC)54669162  a(III)iii2497996x  a(III)iiio4238803x  a(OCoLC)ocm50987256  aDLCcDLCdX$@  alc  af-et---00aKRP54.3.E87bE8704a349.632 aYa®Ityoòpyåa yaòheg båalamuyåa sâetoéc måahbar.10aActivity report /cEthiopian Women Lawyers Association.  a[Addis Ababa, Ethiopia] :bEthiopian Women Lawyers Association  av. :bcol. ill. ;c29 cm.  aAnnual  aDescription based on: Nov. 1999-Dec. 2000; title from cover.  aLatest issue consulted: Jan.-Dec. 2001.20aYa®Ityoòpyåa yaòheg båalamuyåa sâetoéc måahbarvPeriodicals. 0aWomen lawyerszEthiopiavPeriodicals. 0aWomenxLegal status, laws, etc.zEthiopiavPeriodicals.4 aMiUbHATCHcBACKjMB-BBZ2233xiiio4238803xzOrdered: 09/29/03zReceived: 09/29/03  ccss stdt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.