New language support in Chat

07/15/2020 12:24 theunrealz#1
Hi,
When I type text in my language (UTF-8) in the chat, it appears in jiberish:

[Only registered and activated users can see links. Click Here To Register...]

Any idea how to fix it / add support to a new language in the chat?
07/15/2020 20:51 Offspringfan1234#2
Hey,
you might want to take a look at lang.h, Letter_Eng.inc and propLang.txt as well as all depending source files (langman.cpp / .h)
07/15/2020 22:28 theunrealz#3
Quote:
Originally Posted by Offspringfan1234 View Post
Hey,
you might want to take a look at lang.h, Letter_Eng.inc and propLang.txt as well as all depending source files (langman.cpp / .h)
Thanks, but i'm not looking to add a new language to the whole game, just for people to be able to chat in this language
07/15/2020 23:52 Offspringfan1234#4
Yeah those files give you an idea on how to implement a new language. I just wanted to mention which files are involved so you can c&p most of the definitions there :3
07/16/2020 18:00 theunrealz#5
Quote:
Originally Posted by Offspringfan1234 View Post
Yeah those files give you an idea on how to implement a new language. I just wanted to mention which files are involved so you can c&p most of the definitions there :3
The question is, adding the new langauge in those files, will make the language work when users type such characters in the chat?
07/18/2020 19:37 Offspringfan1234#6
At least it does for Korean. I cant promise anything sry. Could also be some hardcoded charset supports like ASCII