Hi all,
About 2 months ago we were discussing allowing the IS_URL validator to validate Unicode URLs. I did some research, and learned that Python 3.0 supports the necessary codecs to do this. In Python 3, implementing Unicode URLs in IS_URL would require only a few extra lines of code in IS_URL. Here's a quick description of the module in the Python 3.0 documentation: http://docs.python.org/dev/3.0/library/codecs.html#module-encodings.idna So the question of how to proceed with this depends on when/if web2py will upgrade to Python 3. If we will upgrade soon, then I'll wait until after the upgrade before implementing this new feature. Otherwise, I can try backporting the module to Python 2.5 (this will be easy if the module is implemented in pure Python)... or I can try porting the GNU libidn library (http://www.gnu.org/software/libidn/) from Java to Python. The Java implementation of libidn is 14,467 lines of code (including comments and tests), so this is a substantial code base to be adding to web2py for one new feature. Does anyone have any comments or questions? Thanks, --Jonathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

