Dear All,

I am using WWW::Mechanize to fetch the content from the web. when I
used save_content method, I am getting the above said error. In the
output the character is not displaying properly. I need to encode the
HTML content to UTF-8 so that the character looks correct.

I have modified the Mechanize.pm @ line no. 2042 to open( my $fh,
'>:utf8', $filename ). But I am not getting the desired output.

Please help in getting the $mech->content in utf-8 format.

Regards,
Ganesh

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to