]> git.wh0rd.org Git - tt-rss.git/commitdiff
xml-rpc: force UTF-8 (closes #259)
authorAndrew Dolgov <fox@bah.org.ru>
Sun, 29 Nov 2009 08:16:32 +0000 (11:16 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Sun, 29 Nov 2009 08:16:32 +0000 (11:16 +0300)
xml-rpc.php

index 624367fdf880ad1b7742bf1bafc4702ac29ac040..26a49ebd1de85f527d584e5dab5476616d13936c 100644 (file)
@@ -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) {