Ok I've found the problem. In the title I've hadded before a date with a different encode. Thanks Leonel for the help.
Il giorno sabato 7 gennaio 2017 09:12:19 UTC+1, Gael Princivalle ha scritto: > > I've tried also like that: > description = title + 'ò' > Same error. > > description = '%s %s' %(title, event.description) > Same error. > > description = 'ò' > > No error. > > Il giorno venerdì 6 gennaio 2017 19:23:16 UTC+1, Gael Princivalle ha > scritto: > >> I edit the controller with notepad ++. Format is UTF-8 without BOM. >> I've also tried to save it with the web2py amministrative interface, same >> error. >> >> >> Il giorno venerdì 6 gennaio 2017 18:08:13 UTC+1, Leonel Câmara ha scritto: >>> >>> Is it possible the python file itself where your controller is, is not >>> in utf-8? >>> >> -- 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.