Simplix-Softworks / SimplixStorage

Library to store data in a better way
Apache License 2.0
138 stars 25 forks source link

Another encoding bug #35

Closed 360matt closed 3 years ago

360matt commented 3 years ago

When I reload my server/plugin, the .yml is corrupted

How to reproduce (in my case):

The first load the correct encodage, but nexts (re)load corrupt the file I can't use special character :/

KotlinFactory commented 3 years ago

Hey, thanks for reporting this, currently we are working this out in our support discord.

Regards, Leonhard

KotlinFactory commented 3 years ago

Should be resolved, please comment if otherwise.

JCAguilera commented 3 years ago

Hi! is this fixed? I can't read special characters with Yaml.get(key, def) method

KotlinFactory commented 3 years ago

Yes, it should be fixed. Are you using SimplixStorage on Bukkit? If so please use:

-Dfile.encoding=UTF-8 in your run.bat / run.sh file.

If this does not work we are more than happy to help you.

Regards, Leonhard