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

how to use this? #3

Open
inspire22 opened this issue Jun 6, 2011 · 0 comments
Open

how to use this? #3

inspire22 opened this issue Jun 6, 2011 · 0 comments

Comments

@inspire22
Copy link

I'm having problems with 1.9.2 having strings it "thinks" are encoded as utf-8, but then when I try a regex against them i throws an ArgumentError: invalid byte sequence in UTF-8.

I assume this module could help me force_encoding it into the right encoding, so I can then encode! it properly into utf-8? Sounds like a lot of work.

Sounds like I'll need to run this on every string submitted to my web applications as well, so hopefully it's not slow?

Thanks!

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

No branches or pull requests

1 participant