#python
How we slug at Mozilla
24 March 2011
One problem we find with slug generators, is they do an awful job with unicode.
For a string like this: Bän...g (bang)
you get something like
bng---g--bang-
or at best bang-bang
. But it’s 2011, urls can have
unicode… here’s what we really want: bäng-bang
.
Read full post