Skip to content
Snippets Groups Projects
Commit df107a6c authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Use latin-1 for decoded_content

parent 487193b1
No related branches found
Tags 1.31.4
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment