From df107a6ce5edb74ca0f9de3017c92b0499718de9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 5 Jun 2010 21:28:33 +0200 Subject: Use latin-1 for decoded_content --- bin/efa | 7 +++---- 1 file 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) { -- cgit v1.2.3