]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/external.pm
external: Disable RPC::XML's "smart" encoding, which sent ints for strings that conta...
[ikiwiki.git] / IkiWiki / Plugin / external.pm
index ec91c79db2149a1b58a63f34aedc4b83b7a76a4a..a4cc1dd3ce32bade13d9477efcba68fdc4a50e1a 100644 (file)
@@ -28,7 +28,9 @@ sub import {
 
        $plugins{$plugin}={in => $plugin_read, out => $plugin_write, pid => $pid,
                accum => ""};
+
        $RPC::XML::ENCODING="utf-8";
+       $RPC::XML::FORCE_STRING_ENCODING="true";
 
        rpc_call($plugins{$plugin}, "import");
 }