Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
html = open(url, "r:cp932").read.encode('utf-8')
doc = Nokogiri::HTML.parse(html)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment