On Thursday, July 4, 2019 at 2:04:49 PM UTC-7, Lisandro wrote: > > I presumed that I could add "# -*- coding: utf-8 -*-" and forget about > the encoding problems. > > What should I do? >
I believe that line only specifies that the source code is in utf-8. You probably need to use a codec, which is covered in <URL:https://docs.python.org/2/library/codecs.html#encodings-and-unicode> My own examples aren't on this computer, but there are some in gluon/... /dps -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/fddfb598-18db-4b9c-842a-0f2071a34422%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.