| 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