Re: [Tutor] dictionary2unicode and unicode2dictionnary

2005-04-08 Thread Kristian Zoerhoff
On Apr 8, 2005 6:29 AM, BRINER Cedric <[EMAIL PROTECTED]> wrote: > > <(hint: rsmFirstname = françois)> > > import pickle > > q=pickle.dumps(a) > >>> type(q) > > so this is a string > > >>> unicode(q) > Traceback (most recent call last): > File "", line 1, in ? > UnicodeDecodeError: 'ascii' co

[Tutor] dictionary2unicode and unicode2dictionnary

2005-04-08 Thread BRINER Cedric
hi, sorry to relaunch this topie but I really need this to work. (o.o)' how can I have an unicode pickled data ??? e.g. a={'partition': u'/export/diskH1/home_evol/ricquebo', 'rsmFirstname': u'Fran\xe7ois', 'rsmLastname': u'Ricquebourg', 'size': u'8161222.0', 'size_max': '1'} <(hint: rsmFirstna