MkyTaP - 開發筆記
主要工具: Linux, Python, SQL
Showing posts with label
chinese
.
Show all posts
Showing posts with label
chinese
.
Show all posts
Friday, August 9, 2019
Python: unicode chinese string recover
content = '\u6fb3\u95e8\u5927\u5b66'
content = content.encode('utf-8').decode('unicode_escape')
print (content)
# 澳门大学
Older Posts
Home
Subscribe to:
Posts (Atom)