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
|