Look ate the source code of urlify: https://github.com/web2py/web2py/blob/master/gluon/validators.py#L2525
If you can suggest improvements I will happy to include them. I guess the problem is here: https://github.com/web2py/web2py/blob/master/gluon/validators.py#L2534 Massimo On Friday, 16 August 2013 07:39:50 UTC-5, lesssugar wrote: > > I'm using the following module to convert my urls: > > > http://pydoc.net/Python/redsolutioncms.django-hex-storage/0.1.1/pinyin.urlify/ > > I have urlify.py (main function) and maps.py (chars mapping) in my > /modules. I test it in one of my views, simply trying to print the > urlify-ed value in the console: > > {{from urlify import urlify}} > {{print urlify(u"łźć ęćm")}} > > I get "aaa-aaa", so basically there's no mapping done and I have no idea > why. > > > -- --- 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.