Closed tobym closed 13 years ago
When I open irb (ruby 1.9.1-p378 on a macbook pro), and require lib/readability.rb, I got this error:
/Users/toby/work/nlp/ruby-readability/lib/readability.rb:280: invalid multibyte char (US-ASCII) /Users/toby/work/nlp/ruby-readability/lib/readability.rb:280: invalid multibyte char (US-ASCII) /Users/toby/work/nlp/ruby-readability/lib/readability.rb:280: syntax error, unexpected $end, expecting ')' node.to_html.gsub(/[\r\n\f]+/, "\n" ).gsub(/[\t ]+/, " ")
Seems like there is an hidden character that ruby 1.9.1 chokes on.
Eek, yea, no good. I just pulled your patch. Thanks!
What was the bad encoding issue?