On 18 Aug 2013, at 2:22 PM, Niphlod <niph...@gmail.com> wrote: > i like django-urlify and slughify module structure better ... unicodedecode > is yet another module that fiddles heavily with imports (it's 118 files) and > I don't see it included in contrib if we're going to include its logic in > IS_SLUG()...
The fiddling is pretty straightforward, just lazy imports of blocks of characters. Which makes sense. OTOH, its intention is slightly different from other slugifiers: from unidecode import unidecode: unidecode(u"北亰") "Bei Jing " ...it *is* sorta cool. > > > On Sunday, August 18, 2013 10:56:41 PM UTC+2, Jonathan Lundell wrote: > Another possibility (I haven't tried it): > https://pypi.python.org/pypi/Unidecode/0.04.1 > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.