Skip to content

Instantly share code, notes, and snippets.

@Miopas
Created January 23, 2019 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Miopas/baaf373257583ff0fb15caf5d11098e4 to your computer and use it in GitHub Desktop.
Save Miopas/baaf373257583ff0fb15caf5d11098e4 to your computer and use it in GitHub Desktop.
python2 print Chinese string
x = '中文测试'
print(x.decode("string_escape"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment