Unicode in Python

Chris Angelico rosuav at gmail.com
Tue Apr 22 02:32:58 EDT 2014


On Tue, Apr 22, 2014 at 4:18 PM, Rustom Mody <rustompmody at gmail.com> wrote:
> Ive reworded it to make it clear that I am referring to the character-sets and
> not encodings.

It's still false, and was in Python 2 as well. The only difference on
that front is that, in the absence of an encoding cookie, Python 2
defaults to ASCII while Python 3 defaults to UTF-8. PEP 263 explains
the feature as it was added to Py2; PEP 3120 makes the change to a
UTF-8 default.

Python source code is Unicode text, and has been since 2001 and Python 2.3.

ChrisA



More information about the Python-list mailing list