#Pages with non-ascii characters in the url

2 messages · Page 1 of 1 (latest)

dire mauve
#

I'm trying to make a page with a url that has a non-ascii character: the path is src/pages/ä.tsx.
When trying to visit localhost:3000/ä however, I get a 404 error.
In contrast the page src/pages/a.tsx works perfectly. Is there an easy way to make the non-ascii page name work?

idle tulip
#

Name it %C3%A4.tsx.
You can encode your page names with encodeURIComponent in a JS console, e.g. encodeURIComponent('ä') will output %C3%A4.