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
{{ message }}
Repository navigation
Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT #11
Hi,
I was using this gem for parsing rtf file
ruby version is 2.4.0 and rails is 'rails', '~> 5.1.4'when I execute doc = RubyRTF::Parser.new.parse(File.open(path).read)`
where "path" being equal to a rtf file in public folder -- Ruby native File loads file.
CompatibilityError in ruby-rtf-0.0.3/lib/ruby-rtf/parser.rb:187:in handle_control'`
Any help or reference to any rtf parser without JAVA dependencies I know there are 2 such gems?
Activity