HOME FORUMS MEMBERS RECENT POSTS LOG IN  
× Авторизация
Имя пользователя:
Пароль:
Нет аккаунта? Регистрация
Баннер 1   Баннер 2
НОВЫЕ ТОРГОВАЯ НОВОСТИ ЧАТ
loading...
Скрыть
Вернуться   ANTICHAT > ПРОГРАММИРОВАНИЕ > Общие вопросы программирования
   
Ответ
 
Опции темы Поиск в этой теме Опции просмотра

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





Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 


Быстрый переход




ANTICHAT ™ © 2001- Antichat Kft.