[Python-Dev] Unicode (original) (raw)

Martin v. Loewis martin@v.loewis.de
30 Apr 2002 09:01:17 +0200


Jack Jansen <Jack.Jansen@oratrix.com> writes:

It could be argued that open(..., 'r').read() returns a text string and open(..., 'rb').read() returns a binary blob.

That can't work: to get a text string, you need to know the encoding.

Regards, Martin