On Thu, Sep 23, 2004 at 12:18:30AM -0400, Mike Rylander wrote: > So, in the course of dumping a pile of MARC bib records to MARCXML I ran into > a funky legacy record. It was 8-bit encoded (probably MARC-8), but it > matched well enough with ANSI (ISO-8859-1) (which is a valid encoding for > XML) that I decided to just dump it with that encoding. > > "But how?" one might ask. Well, here's a patch that allows it. The extra 3 > lines of perl, plus some perldoc to explain it, will allow you to set the > encoding of the output XML to anything you like, and defaults to UTF-8 so as > not to change the current functionallity.
Thanks Mike, I applied the patch, and uploaded v0.66 to CPAN a few minutes ago. Many thanks! //Ed