in reply to Re: WWW::Mechanize & encoding
in thread WWW::Mechanize & encoding
I assume my syntax for encoder() is wrong:use Encode::Encoder qw(encoder) HTML::Entities qw(deocde_entities); my $w = WWW::Scripter->new; $w->get("file:///tmp/nhg.euc-jp.html") decode_entities $w->content; # this is okay I think my $euc = encoder( $w->content )->euc_jp; # this gives an error
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: WWW::Mechanize & encoding
by Anonymous Monk on Jun 29, 2011 at 09:04 UTC |