Mojira Archive
BDS-3791

Unicode windows support

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.

Environment

Windows 10, standard en-US locale

Attachments1

01.jpg
01.jpg

Roman Vavryk

Comments2

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:

  1. Launch server using cmd or powershell on windows.
  2. Type "say перевірка" into server console window
  3. On your server players will see message "?????????" instead

 

History3

IonicEcko

Confirmation Status: UnconfirmedConfirmed

[Mod] OcelotOnesie

Resolution: UnresolvedFixed

Added affects versions: 1.19.0

Fixed
Roman Vavryk
2
2
Confirmed
338993
1.14.32.1
1.19.0