4 From 5ad35b2805ca50478f07d810e57e7c9b8f4eddea Mon Sep 17 00:00:00 2001
5 From: Changaco <changaco@changaco.net>
6 Date: Tue, 4 Jun 2013 02:54:35 +0200
7 Subject: [PATCH] fix encoding issue in blogspam plugin
9 RPC::XML uses ascii as default encoding, we have to tell it to use utf8.
11 Without this, ikiwiki returns "failed to get response from blogspam server"
12 every time a non-ascii character is used in a content that needs checking.
15 IkiWiki/Plugin/blogspam.pm | 1 +
16 1 file changed, 1 insertion(+)
18 diff --git a/IkiWiki/Plugin/blogspam.pm b/IkiWiki/Plugin/blogspam.pm
19 index d32c2f1..e48ed72 100644
20 --- a/IkiWiki/Plugin/blogspam.pm
21 +++ b/IkiWiki/Plugin/blogspam.pm
22 @@ -53,6 +53,7 @@ sub checkconfig () {
26 + $RPC::XML::ENCODING = 'utf-8';