-
Notifications
You must be signed in to change notification settings - Fork 1
Encoding messes up between platforms #8
Copy link
Copy link
Open
Description
In CSG 1.2.0.9, the config will be saved as default encoding of current platform, as if we create a config with non-ASCII characters on Windows, it will be saved as GBK, and messes up on Linux when it got read with UTF-8.
This problem still present in the newest code in this repository.
The only thing we need do is passing an OutputStreamWriter/Reader constructed by ourselves with UTF-8 encoding to the JsonWriter/Reader , to normalize the encoding
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels