Topic: settings.cfg: special char in name displays in menu but not in-game
I thoroughly searched the forum but no mention of this problem.
In an attempt to include special characters in my player name I edited the Teeworlds settings.cfg file accordingly and saved it in UTF-8. By looking in the name field under the 'settings' tab when Teeworlds is running I could determine which characters are and aren't compatible with the game. However it appears even those characters that are compatible--and which I've doubly confirmed are compatible as I've seen them in other players' names--don't appear in my player name when I join a game, even though they appear correctly in the name field. Another player I asked confirmed they don't appear. For instance if the name field displays "ƬɌANSCIX" (with a special "Ƭ" and "Ɍ"), in-game it will only display as "ANSCIX". A special character between two regular characters produces a space such as "xɌx" producing "x x". If I exclusively use special characters for my name, such as just "ƬɌ", then in-game it displays as "(1)". I wonder if the players I occasionally see in games with the name (1) are actually named thusly or if their names are entirely composed of special characters..
Here's some additional info about my situation that may or may not be helpful. I run Ubuntu and I assure you it was a challenge to track down the settings.cfg file in the first place (as it was a hidden file). When I found it I began experimenting to see which characters appeared correctly in the name field. I would paste a few special characters into the file, save the file, run the game to check, exit the game and refresh the file in order to try a few more special characters and so on. After going on like this for several attempts however, eventually when I exit the game I find the characters I entered have been distorted in the file, appearing as weird little rectangles and stuff and when I try to save new special characters to the file it says there's a problem with the encoding. After some investigation it appears the settings.cfg file switched to a Western character encoding instead of UTF, though I have no idea why it suddenly made the switch, and so I would switch it back to UTF.
I've confirmed all of this on two separate computers both running Ubuntu 16.04. I've tried uninstalling and re-installing Teeworlds on both computers but it doesn't help. Also, and probably irrelevant but perhaps not, after uninstalling Teeworlds the hidden .Teeworlds file would remain so I manually deleted it, but upon re-installing Teeworlds there were two .Teeworlds files (numbered) and some trash info. In order to really get a new .Teeworlds file upon re-install I had to not only delete the previous file in between the installs but also empty the recycling bin or it would come back.
Edit: Someone in the game suggested adding special characters via a mod should work, so I'll look into this, but it looks exceedingly complicated for someone of my technical ability.
Thanks a bunch for any assistance!