EssentialsX

EssentialsX

2M Downloads

The sethome not support áéíőúűáéóüö characters

andris155 opened this issue · 4 comments

commented

EssentialsX version (run /essentials):
2.0.1-b557

Server software (run /version):
This server is running Paper version git-Paper-1272 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)

Server (logs/latest.log):
I send if need.

EssentialsX config (plugins/Essentials/config.yml):
I send if need.

Details:
sethome not support áéíőúűáéóüö characters
/sethome ház (ház -> h_z)

commented

Replacing the diacritics with underscores is intentional; without this, the YAML would break when reloading the user's data. The only way to work around this is to not add the diacritics and just type the undecorated vowels.

Hello!

After five (almost six) years we have talked about this on discord and you said:

It's likely possible to support accented characters now since we do save the contents of configs in UTF-8 - leave a comment on the original issue and we can revisit it

So here I am - hoping that it could be solved.

It would be so much better for the users we would be so happy.
Thanks.

commented

Reopening as a feature request, since we should now be safe to store home names as UTF-8

commented

Are you saying that it takes accented/umlauted characters and turns them to underscores?
Does this show up as so in the user's data file?
Now, I'm not familiar with what language you're likely using, but I figure that in most languages, you can go without the accents/umlauts, however incorrect. With that being said, I also am not entirely sure how easy it would be to implement support for these characters, I believe the files would just need to be encoded in UTF8 if they're not.
Just my initial input to get some info out of you!

commented

Replacing the diacritics with underscores is intentional; without this, the YAML would break when reloading the user's data. The only way to work around this is to not add the diacritics and just type the undecorated vowels.