in reply to Odd symbols in read file function?
See open about how to specify the encoding of the files you read or write. I would just blindly try out both
open(FILE, "<:encoding(UTF-8)", "test.txt") or ... #or open(FILE, "<:encoding(iso-8859-1)", "test.txt") or ...
and see if that works. If not, you would have to find out the real encoding of your file and use that instead
|
|---|