python2:
```
>>> s='\u54c8\u54c8'
>>> print s.encode('unicode_escape')
'哈哈'
```
python3:
```
>>> s='\u54c8\u54c8'
>>> s
'哈哈'
>>>
```
python2:(待验证)
```
>>> s='哈哈'
>>> ss = unicode(s, "utf-8")
>>> print ss
'\u54c8\u54c8'
```
python3:
```
>>> s='哈哈'
>>> import json
>>> ss=json.dumps(s)
>>> print(ss)
'\u54c8\u54c8'
```