Invisible/empty nick names
rkfg
Russia Join Date: 2013-09-03 Member: 187744Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow
For whatever reason I don't see some people's names. I asked others and they see them, but I see empty line in the scoreboard (badges are fine) and the name is also missing in the kill message, both in the center of the screen and in the top right corner. Their names are sometimes visible in the ingame console and log.txt (attached). One of these was "��PADLA" (http://hive.naturalselection2.com/profile/23025479), he has those two garbage symbols in his name and that's possibly the cause. I only saw his name in the console and log. I remember there were actually 4 of those symbols and they were like ½¼. I guess it has something to do with encodings and probably these symbols are actually cyrillic encoded wrong (like UTF-8 ⇒ CP1252). There was the infamous letter "Ð" which has the ASCII code of 0xd0 and it's usually about 50% of UTF-8 encoded cyrillic text.
NS2Stats also shows that garbage (http://ns2stats.com/player/player/161881). I also saw empty chat messages, it's unlikely people send empty messages just for the sake of it. I don't know whether NS2 on Windows allows entering cyrillic but on Linux it shows nothing. Maybe Windows version just cuts them out or ignores and Linux version refuses to process such a nickname at all. But it's kinda annoying. Am I the only one who encounters such issues?
NS2Stats also shows that garbage (http://ns2stats.com/player/player/161881). I also saw empty chat messages, it's unlikely people send empty messages just for the sake of it. I don't know whether NS2 on Windows allows entering cyrillic but on Linux it shows nothing. Maybe Windows version just cuts them out or ignores and Linux version refuses to process such a nickname at all. But it's kinda annoying. Am I the only one who encounters such issues?
Comments
He forgot to switch layout and sent it in Russian instead of translit. The first message should be "davay mahnem" (let's exchange) and the second is "davay pomenyaems9" (basically the same as the first). It seems that Linux version filters it out completely though I'd prefer at least question marks. But it would be even better to support UTF-8 to some extent. Add cyrillic and western european chars and a great amount of people would be happy.
As you are probably aware, the resources available for NS2 are very slim these days, and as a result most engine issues have a good chance of not being addressed in the future.
If it is in fact on the LUA side of things @SamusDroid is incredibly effective in this area and is now aware of it, so if he is able to - regarding both capability and schedule - I am sure he will take a crack at it and let you know.
Thanks for the great documentation as always @rkfg
http://steamcommunity.com/sharedfiles/filedetails/?id=120940817 — here's a Windows-only solution for cyrillic chat. It won't work on Linux, tried it but I can't enter anything when switched to the Russian layout, not even gibberish. As shown on the screenshot, on Windows the cyrillic entered looks like CP1251 ⇒ CP1252 ("Привет" ⇒ "Ïðèâåò") but as I see in my log, on Linux the same text (sent from a Windows player) becomes encoded like UTF-8 ⇒ CP1252 ("Привет" ⇒ "Привет"). Respective commands I used to demonstrate it for this post: Echo outputs UTF-8 which is then get decoded from a wrong encoding. This confuses me as it looks like network messages are UTF-8 encoded though the game itself doesn't support unicode. I tried printing UTF-8 (both valid and gibberish) from a local Lua console and it doesn't throw an error or anything. There are also no Lua errors in the log.txt as you can see.
I'll try to experiment with modding (I hope the editor isn't required for this particular task since it's Windows-only, unfortunately).
Edit - there's discussion now in the internal chat. We should (hopefully) get this fixed for the next patch Thanks!
Long live the CDT!
@rkfg would you mind assembling a list of all Linux known issues (with links to reproduction steps /back traces) that you care to receive attention and PM them to me? I'm currently assembling a list myself, but you are so thorough at documenting I'd be a fool not to ask you while I'm at it. Hehe
@IronHorse of course, there are not so many (I can think of 3 at the moment) of them but they can be pesky sometimes. I also can't tell for everyone so I'll send only those that I'm experiencing currently.