This is it: [Py3] ASCII decode error when running app in shell with non-ascii characters https://github.com/web2py/web2py/issues/2060
Dne čtvrtek 7. března 2019 12:41:08 UTC+1 Shawn Michaels napsal(a): > > Hi, I'm facing similar problem in Version 2.17.2 when there is unicode > char in subject or message. > Python 3.6 > > Traceback (most recent call last): > File "/www/projects/web2py/gluon/shell.py", line 276, in run > execfile(startfile, _env) > File "/www/projects/web2py/gluon/shell.py", line 41, in execfile > code = compile(f.read(), filename, 'exec') > File > "/usr/lib/python-exec/python3.6/../../../lib64/python3.6/encodings/ascii.py", > line 26, in decode > return codecs.ascii_decode(input, self.errors)[0] > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 321: > ordinal not in range(128) > > since there is utf-8 encoding as default, it should work fine bud doesn't. > -- 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.