From 4aab5f0a73e9e4643ce8174613bd700cf7c3ab68 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 11 Feb 2008 00:11:49 -0500 Subject: * Generate XML RPC messages with the encoding set to utf-8 instead of XML::RPC's default of us-ascii. Allows interoperation with python's xmlrpc library, which threw invalid encoding exceptions and caused the rst plugin to hang. --- IkiWiki/Plugin/external.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/external.pm b/IkiWiki/Plugin/external.pm index 8d1baa587..a5afdc4be 100644 --- a/IkiWiki/Plugin/external.pm +++ b/IkiWiki/Plugin/external.pm @@ -29,6 +29,7 @@ sub import { #{{{ $plugins{$plugin}={in => $plugin_read, out => $plugin_write, pid => $pid, accum => ""}; + $RPC::XML::ENCODING="utf-8"; rpc_call($plugins{$plugin}, "import"); } #}}} -- cgit v1.2.3