Skip to content


Subversion checkout URL

You can clone with
Download ZIP


UTF-8 file name #49

usharf opened this Issue · 1 comment

1 participant


Is it possible to make wheat route correctly when storing articles in files with utf-8 chars? Rendering of the index pages works, but routing (I guess at wheat/wheat.js) will fail with "404" not-found...

  • I don't mean the content, rather the actual file name for the article

    GET /%D7%98%D7%A1%D7%98 404 Content-Type=text/plain
    GET /%D7%98%D7%A1%D7%98 404 Content-Type=text/plain


It works with this patched router (wheat.js):

addRoute(/^\/()([\u0590-\u05FFa-z0-9_-]+)$/, Renderers.article); // include hebrew chars
var match = decodeURIComponent(url.pathname).match(route.regex);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.