
orange
Novice
Jan 17, 2013, 4:56 AM
Post #1 of 2
(241 views)
|
|
parsing html, yet another utf8 problem :(
|
Can't Post
|
|
I got another problem with utf8, this part:
use HTML::Parse; my $p = HTML::Parser->new( text_h => [\&text_rtn, 'dtext'], ); $p->utf8_mode( 1 ); $p->parse_file("$file"); sub text_rtn { foreach (@_) { progress ( "\tParsed: >$_<\n"); } doesn't work. It outputs à instead of É :(
(This post was edited by orange on Jan 17, 2013, 4:57 AM)
|