Re: Unicode and pickles

2007-07-20 Thread Michael Radziej
On Fri, Jul 20, Gábor Farkas wrote: > > Michael Radziej wrote: > > Hi, > > > > I think I've hit a show stopper. > > > > I'm still porting my application to Unicode ... well, before the > > unicode > > changes it was possible to use a TextField for pickles, like > > contrib.Session > > does (Se

Re: Unicode and pickles

2007-07-20 Thread Michael Radziej
On Fri, Jul 20, Michael Radziej wrote: > > Hi, > > I think I've hit a show stopper. > > I'm still porting my application to Unicode ... well, before the > unicode > changes it was possible to use a TextField for pickles, like > contrib.Session > does (Session.session_data). > > But pickling g

Re: Unicode and pickles

2007-07-20 Thread Gábor Farkas
Michael Radziej wrote: > Hi, > > I think I've hit a show stopper. > > I'm still porting my application to Unicode ... well, before the > unicode > changes it was possible to use a TextField for pickles, like > contrib.Session > does (Session.session_data). > > But pickling gives a bytestring, a

Unicode and pickles

2007-07-20 Thread Michael Radziej
Hi, I think I've hit a show stopper. I'm still porting my application to Unicode ... well, before the unicode changes it was possible to use a TextField for pickles, like contrib.Session does (Session.session_data). But pickling gives a bytestring, and this isn't necessarily valid UTF-8. Malc