Essential Commands

Essential Commands

108k Downloads

zh_cn lang issues

John-Paul-R opened this issue ยท 3 comments

commented

Invalid language configuration
image

And there is garbled code after MOTD setting

image

Originally posted by @AdminHcat in #72 (comment)

commented

I think this is due to the encoding used for the config (or by Java strings internally?) When I make the config read/writer use UTF-16 instead of UTF-8, things work fine.

Now, just to figure out how to migrate existing configs to UTF-16 without breaking things... (Or read and encode these chars in UTF-8 by escaping them in some way?)

commented

Didn't mean to close, whoops.

commented

Older, wiser JP here. It should be totally possible to encode these chars in UTF8, so I'm not quite sure what is going on here.