From afe8fc4a874f6f11964c214df1aca2ebbf5776fa Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 5 Jun 2010 21:18:04 +0200 Subject: Set proper encoding for decoded_content --- bin/efa | 4 ++-- 1 file 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) { -- cgit v1.2.3