This is my code:
print \'哈哈\'.decode(\'gb2312\').encode(\'utf-8\')
...and it prints:
SyntaxError: Non-ASCII character \'\\x
You should check you terminal character encoding.
On my terminal, first i set character encoding to utf-8, everything is alright.
When i set it to GBK, the result is '鍝堝搱'.