default encoding in ruby-2.0.0 later is utf-8, filter regex raised to invalid encoding error
default encoding is utf-8