summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-17 23:30:49 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-17 23:30:49 -0400
commitd135039c1dfa13f86900aeb4998b63168edd9b15 (patch)
tree1c6782449b35ac38138806dd32788ae03488f402 /scripts
parent5b2a6f5946120a3420b97f9af0ff4f81b60b2a95 (diff)
set internal encoding in XMPP daemon
darcs-hash:20080818033049-84dde-eb6098e0ae84d081418536ceb6964a65bcbf4953.gz
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/xmppdaemon.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php
index e5ecf9d2d..327854ccd 100755
--- a/scripts/xmppdaemon.php
+++ b/scripts/xmppdaemon.php
@@ -430,6 +430,8 @@ class XMPPDaemon {
}
+mb_internal_encoding('UTF-8');
+
$resource = ($argc > 1) ? $argv[1] : NULL;
$daemon = new XMPPDaemon($resource);