cardmagic/simple-rss

Regex match bug - Ruby 1.9.2

Closed this issue · 1 comments

/Users/katz/.rvm/gems/ruby-1.9.2-preview3/gems/simple-rss-1.2.3/lib/simple-rss.rb:155: warning: regexp match /.../n against to UTF-8 string
/Users/katz/.rvm/gems/ruby-1.9.2-preview3/gems/simple-rss-1.2.3/lib/simple-rss.rb:155: warning: regexp match /.../n against to UTF-8 string

My RVM info:
ruby:
interpreter: "ruby"
version: "1.9.2dev"
date: "2010-05-31"
platform: "x86_64-darwin10.4.0"
patchlevel: "2010-05-31 revision 28117"
full_version: "ruby 1.9.2dev (2010-05-31 revision 28117) [x86_64-darwin10.4.0]"

homes:
gem: "/Users/katz/.rvm/gems/ruby-1.9.2-preview3"
ruby: "/Users/katz/.rvm/rubies/ruby-1.9.2-preview3"

binaries:
ruby: "/Users/katz/.rvm/rubies/ruby-1.9.2-preview3/bin/ruby"
irb: "/Users/katz/.rvm/rubies/ruby-1.9.2-preview3/bin/irb"
gem: "/Users/katz/.rvm/rubies/ruby-1.9.2-preview3/bin/gem"
rake: "/Users/katz/.rvm/gems/ruby-1.9.2-preview3/bin/rake"

For Ruby 1.9.2, I think this issue has to do with the format. Sometimes I had to fix an issue by forcing ASCII format.