As mention something most be wrong on the Linux side,i can use eg Geany in both Mint or Kail.
Have choose Python as Scripting language in editor,all other setting default in Geany(encoding default is utf-8).
No problem when move file
Have choose Python as Scripting language in editor,all other setting default in Geany(encoding default is utf-8).
No problem when move file
.py
to Windows,just a normal Python file no encryption/encoding stuff going on.