I've some python code, that contains recognition for some hindi text. I deliberately save it as UTF-8
, but when I re-open it, the hindi symbols change to russian text(mostly) or simply a ?
. The encoding too changes to OEM 866
which is cyrillic.
Here are the screenshots, (lines 90 and 98):
Because of this encoding change, my code too isn't running at all, as the regular expressions consider ?
as a special input. So what should I do?