title: URI::InvalidURIError (URI must be ascii only)
body: <p>I have a legacy rails 3.2 app, when I try to hit a route with a none-ascii char e.g; <code>example.com/city/bergstraße</code> then I get the following error:</p>
  
  <pre><code>/Users/user/.rvm/rubies/ruby-2.2.5/lib/ruby/2.2.0/uri/rfc3986_parser.rb:20:in `split'
  /Users/user/.rvm/rubies/ruby-2.2.5/lib/ruby/2.2.0/uri/rfc3986_parser.rb:72:in `parse'
  /Users/user/.rvm/rubies/ruby-2.2.5/lib/ruby/2.2.0/uri/common.rb:226:in `parse'
  actionpack (3.1.0) lib/action_dispatch/routing/redirection.rb:91:in `block in redirection_proc'
  rack-mount (0.8.3) lib/rack/mount/route_set.rb:152:in `call'
  rack-mount (0.8.3) lib/rack/mount/route_set.rb:152:in `block in call'
  ...
  </code></pre>
  
  <p><strong>The problem is, that I get this error before hitting any controller</strong>, so I just wonder where can I catch this error to parse and fix the URL? thanks. </p>
  
  <p>P.S: please have a look to the stacktrace before pointing me to any previous post.</p>