Redirecting URLs with Chinese (SC) Characters

I’m in the process of migrating an old site to Netlify and I need to redirect the old pages to the new urls.

The old site used Simplified Chinese characters in the slugs and I’m not having success creating redirect rules in the Netlify _redirects file.

Example redirect rule in the _redirects file:
https://mysite.com/公司简介/ https://mysite.com/guanyu 301

I’ve also tried with url encoding:
https://mysite.com/%e5%85%ac%e5%8f%b8%e7%ae%80%e4%bb%8b/ https://mysite.com/guanyu 301

Has anyone faced a similar issue or have suggestions on the best way to do this?

Thanks

Hi @amac,

Could you share the site URL?

Have done a simple test, creating a thanks.html page with the following in _redirects

/谢谢你    /thanks.html    301
/xièxiènǐ    /thanks.html    301
/xiexieni    /thanks.html    301

All are used as <a href=... on the index page. The first two fail, third works. You can see this deploy at 616c158a61d5505744ea1d95–sad-tesla-31c18c.

However, if I use these redirects

/%E8%B0%A2%E8%B0%A2%E4%BD%A0    /thanks.html    301
/xi%C3%A8xi%C3%A8n%C7%90    /thanks.html    301
/xiexieni    /thanks.html    301

all work (even though the <a href=... are not changed.) See the deploy at 616c1521cb0711e8af0ed410–sad-tesla-31c18c.netlify.app