Показать сообщение отдельно

  #1  
Старый 10.09.2024, 00:40
Trou
Познающий
Регистрация: 02.11.2014
Сообщений: 32
С нами: 6066622

Репутация: 68
По умолчанию

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.
 
Ответить с цитированием