Remove accents in URLs
authorbep <bjorn.erik.pedersen@gmail.com>
Sat, 30 May 2015 12:46:58 +0000 (14:46 +0200)
committerbep <bjorn.erik.pedersen@gmail.com>
Sun, 31 May 2015 18:30:45 +0000 (20:30 +0200)
commit3ea4df35f2435f1cb371fa54f6fd89fd6d7d980f
treedb768e735ee7ccfddbe934239bb9b46deaa007f1
parentbe0903c71a1851a4d13df9de37a2037e7bc431ec
Remove accents in URLs

So the taxonomy `GĂ©rard Depardieu` gives paths on the form `gerard-depardieu`.

Unfortunately this introduces two imports from the `golang.org/`, but Unicode-normalization isn't something we'd want to write from scratch.

See https://blog.golang.org/normalization

See #1180
helpers/path.go
helpers/path_test.go