2013-05-15 42 views

回答

9

\u轉義在非Unicode字符串中沒有意義。你需要做a = u'\u0D05'

如果你說你是從別的地方得到的字符串,需要解釋的Unicode中泄漏出來,然後做print a.decode('unicode-escape')