Re: marc-8

From: Doran, Michael D <doran_at_nyob>
Date: Mon, 24 Oct 2011 13:47:43 -0500
To: CODE4LIB_at_LISTSERV.ND.EDU
> Okay. How do I go about converting MARC-8 encoded records into UTF-8?

In Perl... using the handy MARC::Charset module (tip 'o the hat to Ed Summers, and now maintained by Galen Charlton).

-- Michael

> -----Original Message-----
> From: Code for Libraries [mailto:CODE4LIB_at_LISTSERV.ND.EDU] On Behalf Of Eric
> Lease Morgan
> Sent: Monday, October 24, 2011 1:39 PM
> To: CODE4LIB_at_LISTSERV.ND.EDU
> 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
Received on Mon Oct 24 2011 - 14:48:15 EDT