I wrote a script, where i slurp in UTF-8 encoded HTML-file and then parse it to tree with HTML::Tree. Problem is that after parsing the strings are not marked as UTF-8 anymore.
I am using HTML::TreeBuilder to parse some HTML. Can you specify multiple classes in the \'lo开发者_JAVA技巧ok_down\' routine?
The documentation on CPAN doesn\'t really explain this behavior unless I\'m missing something. I\'ve put together some quick test code to illustrate my problem:
I have some Perl code: use HTML::Parse; use HTML::FormatText; # ... my $txtFormatter = HTML::FormatText->new();
ly1987526 2022-05-11 12:20 开发者_如何学运维可能是显卡和内存的问题