From: Andrew Dolgov Date: Sun, 29 Nov 2009 08:16:32 +0000 (+0300) Subject: xml-rpc: force UTF-8 (closes #259) X-Git-Tag: 1.4.0~184^2~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2e58d4e5271721fe4c5d9329f5dbfa2ac6dbe93b;p=tt-rss.git xml-rpc: force UTF-8 (closes #259) --- diff --git a/xml-rpc.php b/xml-rpc.php index 624367fd..26a49ebd 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) {