Whydo i load and save one configfile become unreadable code?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By fish2091852127

I had saved a config file(this configfile has many unicode chars,is ok) , then i load it,and save it at another path(to do save us ), the new one’s each unicode chars become unreadable(only english chars worked)


my code such as:
var f =ConfigFile.new()

paths is noproblem
but the new file become unreadable chars

the old file,i had opened,it’s no problem, it had saved the unicode chars,and it is utf8 in default

I see …in my last find,section\key canot use unicode,but the value can do it.
is that so?

fish2091852127 | 2019-06-02 16:21

:bust_in_silhouette: Reply From: DavidPeterWorks

It sounds like a bug.
I would recommend to create an issue and attach a minimum example.