diff --git a/code/nel/src/gui/ctrl_base.cpp b/code/nel/src/gui/ctrl_base.cpp index 9fdeff8c2..442f8276a 100644 --- a/code/nel/src/gui/ctrl_base.cpp +++ b/code/nel/src/gui/ctrl_base.cpp @@ -123,8 +123,11 @@ namespace NLGUI if (prop) { const char *propPtr = prop; - - _ContextHelp = ucstring(propPtr); + if (strlen(propPtr) > 2 && propPtr[0] == 'u' && propPtr[1] == ':') + _ContextHelp = ucstring::makeFromUtf8(std::string(propPtr).substr(2)); + else + _ContextHelp = ucstring(propPtr); + if( !editorMode && ( strlen(propPtr) > 2 ) ) { diff --git a/code/nel/src/gui/view_text.cpp b/code/nel/src/gui/view_text.cpp index fc388ec72..8458def52 100644 --- a/code/nel/src/gui/view_text.cpp +++ b/code/nel/src/gui/view_text.cpp @@ -993,7 +993,10 @@ namespace NLGUI if (_MultiLine) { - setTextFormatTaged(CI18N::get(propPtr)); + if (strlen(propPtr) > 2 && propPtr[0] == 'u' && propPtr[1] == ':') + setTextFormatTaged(ucstring::makeFromUtf8(std::string(propPtr).substr(2))); + else + setTextFormatTaged(CI18N::get(propPtr)); } else {