I also have to work with unicode all the time. While it's true that python3 deals better with this issue, there is no way that web2py can move to python3 and our current code keeps working, precisely because of this issue. Our code has lots of .encode('utf8'), .decode('utf8'), unicode(...), etc. We would have to migrate our apps to python3.
So a new framework that is based on the same ideas and part of the existing code, as Massimo have said explicitely, is the only possible strategy. But while we do the necessary porting of our code to python3, we will also get other benefits in the deal. python3 being non-backwards compatible forces a non-backwards compatible version of web2py. El 07/12/15 a las 02:09, Alex escribió: > I'm still missing a clear strategy from the devs... I could understand if you > don't have enough resources and ask for help (web2py is open source and > anybody can contribute after all). But saying that python3 is useless and > nobody wants it is not a good approach. > > It seems like most of you only > deal with ascii characters. Only if you constantly deal with non-ascii characters you really feel the pain of python2. e.g. ajax request with user input, use string for mail.send or T(..).format(..) -> unicode error. Basically I have to test all user string input if it is unicode and convert to str > > Alex > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/UKcWKU66qnA/unsubscribe. > To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com <mailto:web2py+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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/d/optout.