Re: StringIO + unicode

2008-03-25 Thread Gabriel Genellina
En Tue, 25 Mar 2008 06:26:04 -0300, Laszlo Nagy <[EMAIL PROTECTED]> escribió: > Is there a standard "in-memory file" interface for reading/writting > unicode stings? Something like StringIO. > > E.g. this would be possible: > > - create UnicodeStringIO > - write unicode strings into it > - wite

Re: StringIO + unicode

2008-03-25 Thread Diez B. Roggisch
Laszlo Nagy wrote: > Is there a standard "in-memory file" interface for reading/writting > unicode stings? Something like StringIO. > > E.g. this would be possible: > > - create UnicodeStringIO > - write unicode strings into it > - wite data (binary) string of UnicodeStringIO into a file ('wb' m

StringIO + unicode

2008-03-25 Thread Laszlo Nagy
Is there a standard "in-memory file" interface for reading/writting unicode stings? Something like StringIO. E.g. this would be possible: - create UnicodeStringIO - write unicode strings into it - wite data (binary) string of UnicodeStringIO into a file ('wb' mode) and then later: - read the s