Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyrillic characters in names shown incorrectly #138

Closed
py-mine-bot opened this issue Feb 15, 2022 · 0 comments
Closed

Cyrillic characters in names shown incorrectly #138

py-mine-bot opened this issue Feb 15, 2022 · 0 comments
Labels
Github Import This was auto-imported from upstream repository type: question Request for clarification or further information

Comments

@py-mine-bot
Copy link
Collaborator

ghost Authored by ghost
Jun 13, 2021
Closed Aug 21, 2021


Hello! I have a very specific problem, when doing query if any of my players have cyrillic letters in their names, those are shown incorrectly. I believe, it is something to do with ASCII encoding and not UTF-8. For example, 'тест' becomes 'B5AB'.

@py-mine-bot
Copy link
Collaborator Author

kevinkjt2000 Authored by kevinkjt2000
Jun 14, 2021


Does the fix proposed in #99 work for you?

Minecraft uses ISO 8859-1, not UTF-8. I'll add this to my list of things to document in #136.

@py-mine-bot
Copy link
Collaborator Author

CoolCat467 Authored by CoolCat467
Jun 16, 2021


How did players get Cyrillic characters in their names anyways? Minecraft player names are forced to have between 3 and 16 characters, and only characters within the following set: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
Cyrillic character support is not needed or required for anyone using a vanilla server, which this program is built for.

@py-mine-bot
Copy link
Collaborator Author

kevinkjt2000 Authored by kevinkjt2000
Jun 16, 2021


It's possible that they are using offline accounts? Or maybe new Microsoft accounts are able to do this?
https://help.minecraft.net/hc/en-us/articles/360050865492-Minecraft-Java-Edition-Account-Migration-FAQ?ref=launcher

Either way, what I commented earlier fixed the issue for Korean characters, so it should probably work for Cryllic characters too. Minecraft has a lot of translations, so it is not surprising to me to see that characters other than abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_ are supported.

@py-mine-bot
Copy link
Collaborator Author

kevinkjt2000 Authored by kevinkjt2000
Aug 21, 2021


The OP's account appears to have been deleted and I'm tracking the documentation task in #136, so I'm going to close this issue.

@py-mine-bot py-mine-bot added Github Import This was auto-imported from upstream repository type: question Request for clarification or further information labels Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Github Import This was auto-imported from upstream repository type: question Request for clarification or further information
Projects
None yet
Development

No branches or pull requests

1 participant