ANTICHAT

ANTICHAT (https://forum.antichat.xyz/index.php)
-   Общие вопросы программирования (https://forum.antichat.xyz/forumdisplay.php?f=206)
-   -   Samp chat character encoding (https://forum.antichat.xyz/showthread.php?t=1520222)

Trou 10.09.2024 00:40

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.


Время: 14:49