Commit df107a6c authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Use latin-1 for decoded_content

parent 487193b1
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -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) {