From 1223d96294a7ee6cd7e3114a24f070579799016e Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 23 Jan 2016 19:04:07 +0100 Subject: [PATCH] Fixed: Display wrong commands with UTF-8 characters --- code/ryzom/client/src/client_chat_manager.cpp | 2 +- code/ryzom/client/src/interface_v3/chat_window.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/client_chat_manager.cpp b/code/ryzom/client/src/client_chat_manager.cpp index 1d0fb3f81..1bf6227d9 100644 --- a/code/ryzom/client/src/client_chat_manager.cpp +++ b/code/ryzom/client/src/client_chat_manager.cpp @@ -1370,7 +1370,7 @@ class CHandlerTalk : public IActionHandler else { CInterfaceManager *im = CInterfaceManager::getInstance(); - im->displaySystemInfo (ucstring(cmd+": ")+CI18N::get ("uiCommandNotExists")); + im->displaySystemInfo (ucstring::makeFromUtf8(cmd) + ": " + CI18N::get ("uiCommandNotExists")); } } else diff --git a/code/ryzom/client/src/interface_v3/chat_window.cpp b/code/ryzom/client/src/interface_v3/chat_window.cpp index af0942bc9..207f09aba 100644 --- a/code/ryzom/client/src/interface_v3/chat_window.cpp +++ b/code/ryzom/client/src/interface_v3/chat_window.cpp @@ -1308,7 +1308,7 @@ public: else { CInterfaceManager *im = CInterfaceManager::getInstance(); - im->displaySystemInfo (ucstring(cmd+": ")+CI18N::get ("uiCommandNotExists")); + im->displaySystemInfo (ucstring::makeFromUtf8(cmd) + ": " + CI18N::get ("uiCommandNotExists")); } } else