azerothcore / azerothcore-wotlk

Complete Open Source and Modular solution for MMO
http://www.azerothcore.org
GNU Affero General Public License v3.0
6.41k stars 2.57k forks source link

Windows Console only takes allows `char` input #13203

Open Synful-Syn opened 1 year ago

Synful-Syn commented 1 year ago

Current Behaviour

I created the character Üwü then I ran the following command into the worldserver console: character rename Üwü 1 It gave me the following error.

Either: "Value 'šw' is not valid for type bool."
Or:     "Character 'šw' does not exist."

Running the command directly from the game did work fine.

Expected Blizzlike Behaviour

[Üwü] (GUID #11) will be requested at next login.

Source

Meh

Steps to reproduce the problem

Maybe it only happens on Windows 10. Create a character called Üwü. Go on the console and do character rename Üwü 1.

Extra Notes

No response

AC rev. hash/commit

AzerothCore rev. 05329af83826+ 2022-10-01 18:02:26 -0400 (master branch) (Win64, RelWithDebInfo, Static) Using SSL version: OpenSSL 1.1.1m 14 Dec 2021 (library: OpenSSL 1.1.1m 14 Dec 2021) Using Boost version: 1.78.0 Using MySQL version: 80027 Using CMake version: 3.22.1 Compiled on: Windows 10.0.19044 Worldserver listening connections on port 8085 Realmlist (Realm Id: 1) configured in port 8085 VMAPs status: Enabled. LineOfSight: 1, getHeight: 1, indoorCheck: 1 MMAPs status: Enabled maps directory located in ./maps. Total size: 291014951 bytes vmaps directory located in ./vmaps. Total size: 658130721 bytes mmaps directory located in ./mmaps. Total size: 2320900676 bytes Using enUS DBC Locale as default. All available DBC locales: enUS Using World DB: ACDB 335.8-dev LoginDatabase queue size: 0 CharacterDatabase queue size: 0 WorldDatabase queue size: 0 No modules enabled

Operating system

Windows 10 x64

Custom changes or Modules

No response

acidmanifesto commented 1 year ago

v(;,,,;)v cthulhu sad noises

zylok520 commented 1 year ago

Command 'Ìü¶á' does not exist, same like you

Nyeriah commented 1 year ago

the console encoding doesn't support those characters

zylok520 commented 1 year ago

how to support other languages, what does make it happed? Like Chinese ...

zylok520 commented 1 year ago

image image fixed languages,it's working. i was test Chinese language .

zylok520 commented 1 year ago

image