Skip to content

Instantly share code, notes, and snippets.

@svschannak
Last active January 13, 2016 08:56
Show Gist options
  • Save svschannak/7e8408aaaaae3a680d13 to your computer and use it in GitHub Desktop.
Save svschannak/7e8408aaaaae3a680d13 to your computer and use it in GitHub Desktop.
Python BeautifulSoup Unicode Problems UTF-8
# don't use this
bs4(response.content)
# use this
bs4(response.content, fromEncoding='utf8')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment