Re: utf-8 code: \xAE not map

[email protected] ("Mike Rylander")
Newsgroups perl.perl4lib
Message-ID <[email protected]>
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
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.