Re: MARC::Charset problem

[email protected]
Newsgroups perl.perl4lib
Organization http://groups.google.com
Message-ID <[email protected]>
Edward Summers wrote:
> Perhaps when you are writing out your data you aren't preparing the filehandle for utf8?

- you're right (as printing to STDOUT and using binmode() shows),
however I got confused because I'm actually trying to save the
transcoded data in a Berkeley-db file (via DB_File.pm) and can't get at
the filehandle.

It turns out by using utf8::upgrade() on the data, following the call
to marc8_to_utf8(), I get the data saved correctly.

Thanks,

Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.