I needed to start communicating with foreign characters, and by doing this, I think that I have ruined the encoding of the file royally.
The error I am getting is:
Lexical error at line 1, column 8. Encountered: "" (0), after : ""
The first line of the file:
import xml.etree.cElementTree as ET
Also note: when I inserted the line above in the text box to ask this question and presented, an unknown character appeared between each character (e I could not fix this problem by adding an explicit encoding definition:
I also failed to return the file (using Hg) to the previous version, and also did not copy / paste the code into a new file or replace the broken file with the copied / pasted code.
Please, help!
source share