Attention | Topic was automatically imported from the old Question2Answer platform. | |
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)
why?
my code such as:
var f =ConfigFile.new()
f.load(old_path)
f.save(new_path)
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
ps:
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