-
Notifications
You must be signed in to change notification settings - Fork 9
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
Encoding::CompatibilityError: incompatible encoding regexp match #8
Comments
same issue testing with:
which should return utf8 as the encoding type. |
Did you solve your issue ? |
Hi, It is now a deprecated project. But despite that the issue is still there. On 22 February 2014 12:54, Mickaël Rémond [email protected] wrote:
|
Thanks ! |
Well no... I tried 3 other libs and then I decided to manually specify the On 22 February 2014 13:08, Mickaël Rémond [email protected] wrote:
|
I think it was a hard case. On 22 February 2014 13:09, Botond Orbán [email protected] wrote:
|
I just patched rchardet, an older library. Although I'm thinking one could just write the string to a temp file and use the system:
|
Encoding::CompatibilityError: incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)
from /Users/boti/.rvm/gems/ruby-1.9.3-p327@search_server/gems/chardet2-1.0.1/lib/UniversalDetector.rb:134:in
=~' from /Users/boti/.rvm/gems/ruby-1.9.3-p327@search_server/gems/chardet2-1.0.1/lib/UniversalDetector.rb:134:in
feed'from /Users/boti/.rvm/gems/ruby-1.9.3-p327@search_server/gems/chardet2-1.0.1/lib/UniversalDetector.rb:46:in `chardet'
from (irb):12
The text was updated successfully, but these errors were encountered: