Typo fix:
> Regexp.new(/foo/u).encoding # => UTF-8

-- 
Posted via http://www.ruby-forum.com/.