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
If this error arises when manipulating a file that was just opened, check to see if you opened it in 'rb' mode
'rb'