encoding issue with scripts with accented characters like é


in some of my scripts, I write to files whose paths include accented characters (e.g. "é").

Often, but not always, when I re-open the script, the accented characters are replaced by ? or other special characters.

I was sure it was an encoding problem. I tried a bunch of different options in "save with encoding", but the issue still arises.

I'm on a Windows computer. (I can't change the path.)

Any suggestions?