summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-05 21:28:33 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-05 21:28:33 +0200
commitdf107a6ce5edb74ca0f9de3017c92b0499718de9 (patch)
tree8ec1a30e6ad7805ef68bcca5e6c85f359091c0a4
parent487193b1b6dfae8795ec9ac8f7945997930d11e4 (diff)
Use latin-1 for decoded_content
-rwxr-xr-xbin/efa7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/efa b/bin/efa
index b3a2f48..e759ac6 100755
--- a/bin/efa
+++ b/bin/efa
@@ -310,10 +310,9 @@ else {
# 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');
+ # decode character strings when they have that encoding. However, it
+ # doesn't check for latin-1, which is an alias for iso-8859-1.
+ $content = $www->response()->decoded_content(charset => 'latin-1');
}
if ($test_dump) {