From 487193b1b6dfae8795ec9ac8f7945997930d11e4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 5 Jun 2010 21:24:58 +0200 Subject: Specify decode comment --- bin/efa | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/efa b/bin/efa index 333a73a..b3a2f48 100755 --- a/bin/efa +++ b/bin/efa @@ -308,7 +308,11 @@ else { fields => \%post, ); - # The content actually is iso-8859-1, but HTML::Message seems to be buggy + # 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'); } -- cgit v1.2.3