convert encoding of the source of regexp

You can use Regexp.new to make a regexp from a source string.
http://www.ruby-doc.org/core-2.1.0/Regexp.html#method-c-new