Enrico,
If you suspect that $xml_text is in latin1, maybe you could confirm this by
running it through Encode::Guess and then encoding it to utf8:
http://search.cpan.org/~dankogai/Encode-2.42/lib/Encode/Guess.pm
Mark
- Original Message -
> I don't understand what I am doing wrong, but
Whoops, Sorry to rick for the double-post, but realized I didn't send
my answers to the list directly...
> perl 5.10.0 --
> linux/ ubuntu 2.6.31-19-generic-pae #56-Ubuntu SMP
Ok, that should have some nice unicode options and should be using
unicode internally.
> however, when I use: LWP, and
I don't understand what I am doing wrong, but i must be misusing either
MARC::Record,
or perl's utf-8 support:
I fetch an xml record from oclc worldcat, and turn it into a MARC::Record,
then output it as
perl 5.10.0 --
linux/ ubuntu 2.6.31-19-generic-pae #56-Ubuntu SMP
I'm using the world cat a