I am writing a .py file that contains strings from multiple charactersets, including English, Spanish, and Russian. For example, I have something like:
string_en
You have to add # -*- coding: XXXX -*- in the beginning of file, replacing the XXXX with the encoding your editor uses to save your source file;
# -*- coding: XXXX -*-
XXXX
Which editor are you using? Can you check on the editor settings which encoding is being used to save the data?