- 31
- 33
Hello, I am facing a problem with character encoding. I am trying to add a message to the chat that includes Russian letters in UTF-16, but it doesn't work. I'm using std::wstring, and when writing the string content to a file, it works fine. However, when I do this in the chat, the characters are not displayed correctly. How can I make it work? Also, I tried to change the font face in samp.cfg, but nothing happened. If anyone has knowledge about this or can share a simple snippet, I would be grateful.