Sinatra doesn’t know this ditty.

Try this:
get '/categories/%e4%bd%9c%e5%93%81%e7%b4%b9%e4%bb%8b' do
  "Hello World"
end