Skip to content

Instantly share code, notes, and snippets.

@mackstann
Created December 4, 2009 08:06
Show Gist options
  • Save mackstann/248901 to your computer and use it in GitHub Desktop.
Save mackstann/248901 to your computer and use it in GitHub Desktop.
>>> BS.BeautifulSoup(u'\u201cnext generation\u201d').renderContents()
'\xe2\x80\x9cnext generation\xe2\x80\x9d'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment