Skip to content

Instantly share code, notes, and snippets.

@ykrkn
Created July 11, 2013 14:52
Show Gist options
  • Save ykrkn/5976128 to your computer and use it in GitHub Desktop.
Save ykrkn/5976128 to your computer and use it in GitHub Desktop.
utf8string = unicodestring.encode('UTF-8')
and back again
unicodestring = unicode(utf8string, 'UTF-8')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment