summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-05 21:24:58 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-05 21:24:58 +0200
commit487193b1b6dfae8795ec9ac8f7945997930d11e4 (patch)
treeb3a54958167b4173421435766cd954a998ac3fa0
parentafe8fc4a874f6f11964c214df1aca2ebbf5776fa (diff)
Specify decode comment
-rwxr-xr-xbin/efa6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/efa b/bin/efa
index 333a73a..b3a2f48 100755
--- a/bin/efa
+++ b/bin/efa
@@ -308,7 +308,11 @@ else {
fields => \%post,
);
- # The content actually is iso-8859-1, but HTML::Message seems to be buggy
+ # XXX (workaround)
+ # The content actually is iso-8859-1. But HTML::Message doesn't actually
+ # decode character strings when they have that encoding. So we specify
+ # iso-8859-15, which makes HTML::Message do the decoding and is similar
+ # enough for our purpose.
$content = $www->response()->decoded_content(charset => 'iso-8859-15');
}