Allow unicode characters as userdata file is now written in UTF-8#5861
Allow unicode characters as userdata file is now written in UTF-8#5861abulujayn wants to merge 1 commit intoEssentialsX:2.xfrom
Conversation
JRoy
left a comment
There was a problem hiding this comment.
The problem with this is that previously special chars were replaced with an underscore, if you remove this method call players may be confused if they use a special char and it suddenly not resolve to the correct warp.
Sorry, I don't understand what you mean. Before this change, using special characters would be replaced with underscores |
|
This will break players trying to teleport to homes they saved prior to the change, as those will no longer be found when running an identical |
Am I misunderstanding? I thought the way it worked was: |
Information
This PR fixes #1742.
Details
Proposed fix:
Allow unicode characters as userdata file is now encoded with UTF-8. (Remove
safeStringcall)Environments tested:
OS: Windows 11
Java version: Corretto-21.0.3.9.1
Demonstration:
