[Python-Dev] Adding the 'path' module (was Re: Some RFEfor review) (original) (raw)
Guido van Rossum gvanrossum at gmail.com
Tue Jul 12 16:38:38 CEST 2005
- Previous message: [Python-Dev] Adding the 'path' module (was Re: Some RFEfor review)
- Next message: [Python-Dev] Terminology for PEP 343
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
QOTF candidate; should add that the default encoding is usually ASCII.
On 7/12/05, Michael Chermside <mcherm at mcherm.com> wrote:
M A Lemburg writes: > we should use strings and Unicode > like they are supposed to be used (in the context of text > data): > > * strings are fine for text data that is encoded using > the default encoding > > * Unicode should be used for all text data that is not > or cannot be encoded in the default encoding > > Later on in Py3k, all text data should be stored in Unicode > and all binary data in some new binary type.
Wow. That is the most succinct and clear explanation of how to use unicode in Python that I think I've ever heard. It might even be simple enough for me to understand it! I think I'm going to go frame this and have it posted in my cubical. -- Michael Chermside
Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Adding the 'path' module (was Re: Some RFEfor review)
- Next message: [Python-Dev] Terminology for PEP 343
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]