diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-05 21:28:33 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-05 21:28:33 +0200 |
commit | df107a6ce5edb74ca0f9de3017c92b0499718de9 (patch) | |
tree | 8ec1a30e6ad7805ef68bcca5e6c85f359091c0a4 /bin | |
parent | 487193b1b6dfae8795ec9ac8f7945997930d11e4 (diff) |
Use latin-1 for decoded_content
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/efa | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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) { |