From 2e58d4e5271721fe4c5d9329f5dbfa2ac6dbe93b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 29 Nov 2009 11:16:32 +0300 Subject: [PATCH] xml-rpc: force UTF-8 (closes #259) --- xml-rpc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xml-rpc.php b/xml-rpc.php index 624367fdf..26a49ebd1 100644 --- a/xml-rpc.php +++ b/xml-rpc.php @@ -9,6 +9,8 @@ require_once "db-prefs.php"; require_once "functions.php"; + $GLOBALS['xmlrpc_internalencoding'] = "UTF-8"; + $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); if (!$link) {