Why is the below item failing? Why does it succeed with "latin-1" codec?
o = "a test of \\xe9 char" #I want this to remain a string as thi
This happened to me also, while i was reading text containing Hebrew from a .txt file.
.txt
I clicked: file -> save as and I saved this file as a UTF-8 encoding
file -> save as
UTF-8