Thank you all. Yes Anthony I was testing the url returning it from a function and displaying it directly from the function url in the browser. URL is correct, sorry for that.
Il giorno lunedì 19 settembre 2016 16:35:57 UTC+2, Anthony ha scritto: > > Where/how are you using the resulting url variable. It looks like you are > displaying it (unescaped) directly as HTML, in which case, "×" is > treated as the HTML entity name for the multiplication sign. It should work > if you just let web2py escape it, though we may need to see more code. > > See > http://stackoverflow.com/questions/16834320/using-times-word-in-html-changes-to-%C3%97 > . > > Anthony > > On Monday, September 19, 2016 at 9:31:17 AM UTC-4, Gael Princivalle wrote: >> >> Hello. >> >> When I build this URL: >> url = URL('/maps/api/timezone/json', scheme='https', host=' >> maps.googleapis.com', vars=dict(key='mykey', location=str(events_latitude >> ) + ',' + str(events_longitude), timestamp=str(today_UTC_timestamp))) >> >> "×" is replaced by "×": >> >> >> https://maps.googleapis.com/mtbconnection/f_ajax/maps/api/timezone/json?key=mykey&location=45.4%2C7.41 >> ×tamp=1474291274.04 >> >> For location & is ok. >> >> I've tried also to concatenate strings, using ascii with chr(38), the >> result is the same. >> >> Someones have a solution? >> >> Thanks. >> > -- 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.