This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, loewis, serhiy.storchaka, umedoblock
Date 2013-02-09.10:35:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Default encoding on Python 3 is UTF-8. You should declare your encoding at the top of file if it differs from UTF-8 or ASCII (i.e. "# -*- coding: euc-jp -*-"). Otherwise Python will reject your file (for Shift_JIS and EUC-JP) or produce incorrect result (for ISO-2022-JP).

$ python3
  File "", line 5
SyntaxError: Non-UTF-8 code starting with '\x82' in file on line 5, but no encoding declared; see for details
$ python3
Date User Action Args
2013-02-09 10:35:43serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, ezio.melotti, umedoblock
2013-02-09 10:35:43serhiy.storchakasetmessageid: <>
2013-02-09 10:35:43serhiy.storchakalinkissue17156 messages
2013-02-09 10:35:43serhiy.storchakacreate