Re: marc-8

From: Doran, Michael D <doran_at_nyob>
Date: Mon, 24 Oct 2011 13:55:58 -0500
To: CODE4LIB_at_LISTSERV.ND.EDU
Eric,

Sometimes for grandpa Perl stuff -- especially as concerns charsets and/or internationalization -- it's worth pinging these lists:

	perl4lib_at_perl.org (yes, still alive and kicking)

	perl-i18n_at_perl.org (very low traffic list, but some knowledgeable subscribers)

-- Michael

> -----Original Message-----
> From: Doran, Michael D
> Sent: Monday, October 24, 2011 1:48 PM
> To: 'Code for Libraries'
> Subject: RE: [CODE4LIB] marc-8
> 
> > 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:56:32 EDT