Simplix-Softworks / SimplixStorage

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

Config(yaml) has broken edit with UTF-8 Characters #67

Closed tomekatomek123456789 closed 2 years ago

tomekatomek123456789 commented 2 years ago

Describe the bug UTF-8 characters get broken and duplicated every time when config(yml) is edited.

To Reproduce Steps to reproduce the bug:

  1. Add some comments with utf-8 characters
  2. Edit config using set(key, object) method
  3. Open file in Notepad++ or Hex Editor
  4. See broken config

Expected behavior It should be no corruption of characters when plugin is editing the config file.

Screenshots image

After edit: image

Desktop (please complete the following information):

KotlinFactory commented 2 years ago

Hey,

thanks for using SimplixStorage & reporting this issue. We tried to reproduce issues like this multiple times and they usually were always caused rather by usage than by SimplixStorage itself. However we will have a look at this again.

Regards, Leonhard

KotlinFactory commented 2 years ago

Any updates from your side on this?

KotlinFactory commented 2 years ago

To get this reopened please respond to the issue.