* 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.
master
Joey Hess 2008-02-11 00:11:49 -05:00
parent 4029389414
commit 4aab5f0a73
3 changed files with 8 additions and 0 deletions

View File

@ -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");
} #}}}

4
debian/changelog vendored
View File

@ -10,6 +10,10 @@ ikiwiki (2.40) UNRELEASED; urgency=low
[ Joey Hess ]
* Danish translation update from Jonas Smedegaard. Closes: #465152
* 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.
-- Josh Triplett <josh@freedesktop.org> Sun, 10 Feb 2008 13:18:58 -0800

View File

@ -15,3 +15,6 @@ Killing with Control-C gives the following traceback:
rst2html on the same file has no problem rendering the file as expected. The
markdown plugin also has no problems rendering the same file, so I'm guessing
it's a problem with the XML-RPC interface.
Sorry for the delay, this is now fixed! --[[Joey]]
[[tag done]]