From: Oleg Igor Date: 2009-08-20T21:59:09+09:00 Subject: Encoding::CompatibilityError Hello ! line: res = main_page.scan(/#{pr}:(.*?)<\/table>/m).to_s error: in `scan': incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string) (Encoding::CompatibilityError) How to fix ? Oleg. -- Posted via http://www.ruby-forum.com/.