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 gives a bytestring, and this isn't necessarily valid > UTF-8. > > Malcolm, do you have any idea to work around this?
Oops, I feel a bit stupid now. Using base64 encoding (like the contrib.session does) should help, and my old way probably only worked for databases without proper encoding checks. Michael -- noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg - Tel +49-911-9352-0 - Fax +49-911-9352-100 http://www.noris.de - The IT-Outsourcing Company Vorstand: Ingo Kraupa (Vorsitzender), Joachim Astel, Hansjochen Klenk - Vorsitzender des Aufsichtsrats: Stefan Schnabel - AG Nürnberg HRB 17689 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
