On 15/05/2008, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Consider code that gets an encoding passed in as a > variable e. It knows it has a bytes instance b. To encode b from bytes > to str (unicode), it can use s = b.decode(e).
To encode, you use .decode? It's nice to know it's not just me who has trouble keeping the terminology straight... Paul. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com