summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-05 21:18:04 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-05 21:19:56 +0200
commitafe8fc4a874f6f11964c214df1aca2ebbf5776fa (patch)
tree6a212d03abb8e5b18eb137f64fb2add062198c4a /bin/efa
parent67f3a442904d3810418dc1a434a24d8f782d8c87 (diff)
Set proper encoding for decoded_content
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/efa b/bin/efa
index f192640..333a73a 100755
--- a/bin/efa
+++ b/bin/efa
@@ -308,8 +308,8 @@ else {
fields => \%post,
);
- $content = $www->response()->decoded_content();
- $content =~ s/\xa0/ /gs;
+ # The content actually is iso-8859-1, but HTML::Message seems to be buggy
+ $content = $www->response()->decoded_content(charset => 'iso-8859-15');
}
if ($test_dump) {