New submission from Jan Varho: When trying to run a file with non-ASCII symbols without declaring an encoding, python 2.7 gives the following error:
File "foo.py", line 2 SyntaxError: Non-ASCII character '\xc3' in file fo.py on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details That link is broken, however. The attached patch fixes the link. Python 3 (.4) has the correct link already. ---------- files: 0001-Fix-link-to-PEP-263-in-encoding-error-message.patch keywords: patch messages: 220821 nosy: otus priority: normal severity: normal status: open title: Broken link to PEP 263 in Python 2.7 error message versions: Python 2.7 Added file: http://bugs.python.org/file35670/0001-Fix-link-to-PEP-263-in-encoding-error-message.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21789> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com