Shahan / teeworlds

A retro multiplayer shooter
http://teeworlds.com
Other
2 stars 2 forks source link

Bot Names in Cyrillic #10

Closed littlebylittle closed 11 years ago

littlebylittle commented 11 years ago

Bug with cyrillic names which ends on 'мный', for example 'Тёмный' If this player create bot, then bots name ends with symbol "[]" For example: Тёмный -> [D] Тёмны[];

Shahan commented 11 years ago

Cyrillic (like other unicode) takes 2 bytes, while english char takes 1. I'm not able to fix it, because your client can print limited amount of bytes. Dummy copies owner's name only to show who dummy belongs to. And if the end of name is cut off, i think that showed part is enough to be understood correctly. And, according to 0.6.2 fix "Limit characters within player names to ascii range to prevent utf8 impersonating", i can close the issue. P.S. feel free to reopen if i understood you wrong