> I know yaz-marcdump changes the encoding bit in MARC
> leaders. Does it also convert MARC-8 characters to UTF-8?
Yes. We use it for that purpose all the time.
--Dave
-----------------
David Walker
Library Web Services Manager
California State University
-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Eric Lease Morgan
Sent: Monday, October 24, 2011 11:39 AM
To: [log in to unmask]
Subject: Re: [CODE4LIB] marc-8
On Oct 24, 2011, at 2:34 PM, Doran, Michael D wrote:
>> In Perl, how do I specify MARC-8 when reading (decoding) and writing
>> (encoding) data?
>
> You can't. MARC-8 is a character set that is unknown to the operating system. Your best bet is to convert MARC-8-encoded records into UTF-8.
/me throws his hands up in the air and screams!
Okay. How do I go about converting MARC-8 encoded records into UTF-8? I know yaz-marcdump changes the encoding bit in MARC leaders. Does it also convert MARC-8 characters to UTF-8? (I guess I could simply try it and see what happens.)
--
Eric Morgan
|