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
When running CharlockHolmes::EncodingDetector.detect "nbs" I get high confidence (score 75) detection but it is wrong {:type=>:text, :encoding=>"IBM420_ltr", :ruby_encoding=>"binary", :confidence=>75, :language=>"ar"}.
Moreover when I try to convert that string to UTF8, I get U_FILE_ACCESS_ERROR (ArgumentError) error. Below is the code
When running
CharlockHolmes::EncodingDetector.detect "nbs"
I get high confidence (score 75) detection but it is wrong{:type=>:text, :encoding=>"IBM420_ltr", :ruby_encoding=>"binary", :confidence=>75, :language=>"ar"}
.Moreover when I try to convert that string to UTF8, I get
U_FILE_ACCESS_ERROR (ArgumentError)
error. Below is the codeI am using ruby 3.3.4 and gem version 0.7.8.
Am I coming across a bug or am I using it wrong?
The text was updated successfully, but these errors were encountered: