diff --git a/src/messenger/webim/operator/update.php b/src/messenger/webim/operator/update.php index 066b5cc4..e6a9a3bc 100644 --- a/src/messenger/webim/operator/update.php +++ b/src/messenger/webim/operator/update.php @@ -152,6 +152,7 @@ function print_pending_threads($groupids, $since) function print_operators() { + global $webim_encoding; echo ""; $operators = operator_get_all(); @@ -159,7 +160,7 @@ function print_operators() if (!operator_is_online($operator)) continue; - $name = htmlspecialchars(htmlspecialchars($operator['vclocalename'])); + $name = myiconv($webim_encoding, "utf-8", htmlspecialchars(htmlspecialchars($operator['vclocalename']))); $away = operator_is_away($operator) ? " away=\"1\"" : ""; echo "";