diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-05 20:43:40 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-05 20:43:40 +0200 |
commit | 27e5df980e8abcb513fc3d5d0b270c802beb5c41 (patch) | |
tree | 0460228d3c6f2e4bfbe2703e40f0c56fb696ad58 /bin/efa | |
parent | 32216d9cb83c0f78ae3f5d347b6a56d3b0ff8120 (diff) |
Fix(?) UTF-8 issues with bin/efa. Nobody knows why it works.
Diffstat (limited to 'bin/efa')
-rwxr-xr-x | bin/efa | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -4,10 +4,8 @@ ## 0. You just DO WHAT THE FUCK YOU WANT TO. use strict; use warnings; -use encoding 'utf8'; use 5.010; -use Encode; use Getopt::Long qw/:config no_ignore_case/; use HTML::TreeBuilder::XPath; use WWW::Mechanize; @@ -308,9 +306,8 @@ else { fields => \%post, ); - $content = $www->content; + $content = $www->response()->decoded_content(); $content =~ s/\xa0/ /gs; - $content = decode('iso-8859-1', $content); } if ($test_dump) { |