Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

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

Open andris155 opened this issue 7 years ago • 4 comments

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)

andris155 avatar Jan 02 '18 18:01 andris155

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!

DrewAMitchell avatar Jan 02 '18 20:01 DrewAMitchell

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.

mdcfe avatar Jan 02 '18 21:01 mdcfe

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.

mcnagynorbi avatar Dec 06 '23 22:12 mcnagynorbi

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

mdcfe avatar Dec 06 '23 22:12 mdcfe