You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: