[BDS-3791] Unicode windows support Created: 29/Mar/20  Updated: 07/Jun/22  Resolved: 07/Jun/22

Status: Resolved
Project: Bedrock Dedicated Server
Affects Version/s: 1.14.32.1
Fix Version/s: 1.19.0

Type: Bug
Reporter: Roman Vavryk Assignee: Unassigned
Resolution: Fixed Votes: 2
Labels: None
Environment:

Windows 10, standard en-US locale


Attachments: JPEG File 01.jpg    
Confirmation Status: Confirmed
ADO: 338993

 Description   

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.



 Comments   
Comment by Roman Vavryk [ 30/Mar/20 ]

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

 

Comment by IonicEcko [ 30/Mar/20 ]

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

Generated at Sat Jan 11 07:26:46 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.