New issue 1962: default encoding for cpython2 is ascii since 2.5, not latin1 anymore https://bitbucket.org/pypy/pypy/issue/1962/default-encoding-for-cpython2-is-ascii
Ben Longbons: The following code: ``` #!python print u'á' ``` Under pypy 2.4.0 produces ouput: `á` Under cpython 2.7 fails with: `SyntaxError: Non-ASCII character '\xc3' in file enc.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details` What the user most likely wanted was to add `# coding: utf-8` The relevant section is: ``` Phases Implementation of steps 1 and 2 above were completed in 2.3, except for changing the default encoding to "ascii". The default encoding was set to "ascii" in version 2.5. ``` _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue