Skip to content

Instantly share code, notes, and snippets.

@puzzlet
Created August 8, 2012 13:40
Show Gist options
  • Save puzzlet/3295098 to your computer and use it in GitHub Desktop.
Save puzzlet/3295098 to your computer and use it in GitHub Desktop.
>>> u'python 패스의 문제였다. 이제 완전 해결'
u'python \u1111\u1162\u1109\u1173\u110b\u1174 \u1106\u116e\u11ab\u110c\u1166\u110b\u1167\u11bb\u1103\u1161. \u110b\u1175\u110c\u1166 \u110b\u116a\u11ab\u110c\u1165\u11ab \u1112\u1162\u1100\u1167\u11af'
>>> x = _
>>> import unicodedata
>>> unicodedata.normalize('NFC', x)
u'python \ud328\uc2a4\uc758 \ubb38\uc81c\uc600\ub2e4. \uc774\uc81c \uc644\uc804 \ud574\uacb0'
>>> print _
python 패스의 문제였다. 이제 완전 해결
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment