From 6cd52d7871a86089057ffac3c6aae1339cbf109a Mon Sep 17 00:00:00 2001 From: kaetemi Date: Thu, 29 Oct 2020 02:24:14 +0800 Subject: [PATCH] Note --- nel/src/misc/unicode.cpp | 3 +++ ryzom/client/src/interface_v3/interface_manager.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/nel/src/misc/unicode.cpp b/nel/src/misc/unicode.cpp index 5597fb68d..d28a7c56e 100644 --- a/nel/src/misc/unicode.cpp +++ b/nel/src/misc/unicode.cpp @@ -25,6 +25,9 @@ namespace NLMISC { +// TODO / FIXME: Write tool to regenerate the unicode tables in this file +// See: ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt + // Uppercase to lowercase 16 bits unicode. This table must be sorted. First entry must be unique. static const ucchar UnicodeUpperToLower[]= { diff --git a/ryzom/client/src/interface_v3/interface_manager.cpp b/ryzom/client/src/interface_v3/interface_manager.cpp index fdc132030..8a87c7cd4 100644 --- a/ryzom/client/src/interface_v3/interface_manager.cpp +++ b/ryzom/client/src/interface_v3/interface_manager.cpp @@ -354,7 +354,7 @@ public: if(UserEntity) { ucstring name = UserEntity->getEntityName(); - if (*it == 'P') setCase(name, CaseUpper); + if (*it == 'P') name = toUpper(name); formatedResult += name; } }