diff --git a/bin/efa b/bin/efa index 333a73a2c0ce3b5ca7f4882565532b94ccb1fee8..b3a2f48a0c6cc61fae2022c8a460cefd48f1c8cd 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'); }