Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support other charsets #85

Open
wants to merge 4 commits into
base: next
Choose a base branch
from
Open

Support other charsets #85

wants to merge 4 commits into from

Conversation

takuros
Copy link

@takuros takuros commented Apr 6, 2014

I'm using Anemone. It's excelletnt!!
But Garbled characters occur, if the page's charset is not UTF-8 or US-ASCII.
So I want to support other charsets.

@brutuscat
Copy link
Contributor

@takuros Take a look at my branch at https://github.com/brutuscat/anemone/tree/use-openuri (use-openuri branch) I replaced net::http for OpenURI which does the charset discovery automagically.

end

def each
@db.execute("SELECT page_key, page_data FROM anemone_storage ORDER BY id") do |row|
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i cant find db.execute method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants