From d135039c1dfa13f86900aeb4998b63168edd9b15 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 17 Aug 2008 23:30:49 -0400 Subject: [PATCH] set internal encoding in XMPP daemon darcs-hash:20080818033049-84dde-eb6098e0ae84d081418536ceb6964a65bcbf4953.gz --- scripts/xmppdaemon.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php index e5ecf9d2da..327854ccdc 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); -- 2.39.5