On Dec 28, 2005, at 8:25 PM, Bryan Baldus wrote:

I was able to successfully compile and test MARC::Charset v. 0.8 from CPAN with the following minor modifications, while using MacPerl 5.8.0a2 on MacOS 9.2.2:

Thanks for trying it out and for emailing the list. If anyone else is interested in MARC::Charset give the new version a try. I attempted to use AnyDBM_File for generic access to the various available db drivers...however this didn't prove to be as portable as I wanted...and it could theoretically cause MARC::Charset to break if new db drivers are installed after MARC::Charset.

Anyhow, this new version of MARC::Charset uses the XML mapping file from the LoC. It also uses Unicode::Normalize for decomposing characters in the utf8->marc8 translation.

The API is now driven by two functions, which in turn use a variety of objects under the covers--which seems to be an improvement to me.

        use MARC::Charset;
        print MARC::Charset::marc8_to_utf8($marc8);
        print MARC::Charset::utf8_to_marc8($utf8);

I'm interested in any feedback you might have. Next up is to get MARC::File::XML using the new functions.

//Ed

Reply via email to