MLG-Fortress / ExtraHardMode

The now-official repository for the ExtraHardMode Bukkit Plugin.
http://dev.bukkit.org/bukkit-plugins/fun-hard-mode/
Other
24 stars 19 forks source link

messages.yml get extreamly big with wrong charset? #245

Closed misaka00251 closed 3 years ago

misaka00251 commented 3 years ago

I try to translate English to Chinese by manually edit the message.yml, but after a few reboots, the file got extremely big:

image

And when I open it (hardly can...):

image

I can't scroll pass Line 34. Seems the charset is wrong.

misaka00251 commented 3 years ago

Translate then save in UTF-8:

image

After reboot the server:

image

RoboMWM commented 3 years ago

start your server with utf-8.

I'll dig up the command line argument.

For reference, are you using Windows or Linux for your server?

RoboMWM commented 3 years ago

Add -Dfile.encoding=UTF-8 to your start script.

misaka00251 commented 3 years ago

I'm using Windows Server w/ Simp. Chinese locale.

-Dfile.encoding=UTF-8 works, thank you!