xml-rpc: force UTF-8 (closes #259)

This commit is contained in:
Andrew Dolgov 2009-11-29 11:16:32 +03:00
parent a3162add37
commit 2e58d4e527

View file

@ -9,6 +9,8 @@
require_once "db-prefs.php"; require_once "db-prefs.php";
require_once "functions.php"; require_once "functions.php";
$GLOBALS['xmlrpc_internalencoding'] = "UTF-8";
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
if (!$link) { if (!$link) {