[Python-Dev] Unicode (original) (raw)
Martin v. Loewis martin@v.loewis.de
30 Apr 2002 09:01:17 +0200
- Previous message: [Python-Dev] Unicode
- Next message: [Python-Dev] Unicode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Unicode
- Next message: [Python-Dev] Unicode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]