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/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4