When I run
u''.startswith('x\x9c')
I end up with an exception
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128)
Why does 'x\x9c' get decoded as an ascii character as opposed to a unicode character as I have run it on the unicode string u''?