-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
[BUG] WordType.word() not compatible with non-ASCII characters #425
Comments
Hey there, thanks for reporting the issue. This seems like an interesting one. Only executing a command with non-ASCII charterers in-game causes an issue. Executing the same command from console seems to work fine. This probably indicates that Paper/Spigot internally changed some command-related stuff. By any chance, do you know which build your plugin was last working and/or which build your plugin started to fail? |
After further investigation, this issue is linked to how only commands issued by players are routed to directly to the native |
Looking into the issue, I don't think it's possible to continue supporting non-ASCII characters the way we do, it's just impossible with the changes made to Spigot in 1.19. I'll try to see if Spigot is willing to accept a patch that will resolve this issue, but no guarantees. In the worst case scenario, See https://hub.spigotmc.org/jira/browse/SPIGOT-7187 for more updates. |
Seeing that there hasn't been any progress on that issue, |
|
Describe the bug
Non-ASCII commands are no longer working after the 1.19 commits. For example, the Swedish letters "å", "ä", and "ö" are no longer working with the WordType.word() argument type.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The command should be executed as usual since it is supported by greedy strings.
See code here.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: