Re: [CODE4LIB] marc-8

2011-10-24 Thread Doran, Michael D
Hi Eric, 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. ...it is converted it Perl's internal encoding

Re: [CODE4LIB] marc-8

2011-10-24 Thread Walker, David
for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Eric Lease Morgan Sent: Monday, October 24, 2011 11:39 AM To: CODE4LIB@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

Re: [CODE4LIB] marc-8

2011-10-24 Thread Ross Singer
On Mon, Oct 24, 2011 at 7:39 PM, Eric Lease Morgan emor...@nd.edu wrote: 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

Re: [CODE4LIB] marc-8

2011-10-24 Thread Jonathan Rochkind
' 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

Re: [CODE4LIB] marc-8

2011-10-24 Thread Jon Gorman
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

Re: [CODE4LIB] marc-8

2011-10-24 Thread Doran, Michael D
/specifications/speccharmarc8.html#alternative). -Original Message- From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Jonathan Rochkind Sent: Monday, October 24, 2011 2:01 PM To: CODE4LIB@LISTSERV.ND.EDU Subject: Re: [CODE4LIB] marc-8 What _ought_ to be easiest

Re: [CODE4LIB] marc-8

2011-10-24 Thread Jonathan Rochkind
To: CODE4LIB@LISTSERV.ND.EDU Subject: Re: [CODE4LIB] marc-8 What _ought_ to be easiest of all is getting our ILS's to NEVER export Marc8 _ever_ again. UTF8 only. Sadly, that only ought to be easiest. But IMO there's no reason any of us should be dealing with Marc8 ever again. The only thing

Re: [CODE4LIB] marc-8

2011-10-24 Thread Doran, Michael D
D Subject: Re: [CODE4LIB] marc-8 Yeah, but if there's Perl code and Java code to do it, can't be _that_ hard to port to ruby if I could figure out what you need to do to get first-class char encoding support in ruby 1.9 anyway. I mean, you could do it just as a library without