Windows uses utf-16, so C standard library to read stdio won't work for non-ASCII characters. Maybe it's better to replace it with ReadConsoleW function specifically for windows or place a notice in "how to" that windows computer must be using utf-8 locale specified in the control panel in order to pass unicode messages to /say command, etc.
Attachments
Comments 5
Hi Roman,
Thanks for the report.
Can you please augment your report with more information such as steps to reproduce, how this affects functionality etc. A guide on what information to include can be found here.
Ionic
Hi Roman,
Thanks for the report.
Can you please augment your report with more information such as steps to reproduce, how this affects functionality etc. A guide on what information to include can be found here.
Ionic
This bug affects windows-running non-English servers.
For example if i was running Spanish server and wanted to inform players with "say" command, or if i wanted to give player an item with non-English name, but I can't do so.
Steps to reproduce are:
Launch server using cmd or powershell on windows.
Type "say перевірка" into server console window
On your server players will see message "?????????" instead
This bug affects windows-running non-English servers.
For example if i was running Spanish server and wanted to inform players with "say" command, or if i wanted to give player an item with non-English name, but I can't do so.
Steps to reproduce are:
Launch server using cmd or powershell on windows.
Type "say перевірка" into server console window
On your server players will see message "?????????" instead