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@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com