After some weeks of relative good relationship with unicode I met a new problem. Digging into it I see things I cannot understand and I'm not sure how these are related to my problem.
I'm using postgresql, psycopg2, DEFAULT_CHARSET='utf-8', db encoding unicode. In [1]: from django.contrib.auth.models import User In [2]: User.objects.create(username='dario', last_name=u'F\xf2') Out[2]: <User: dario> In [3]: d = User.objects.get(username='dario') In [4]: d.last_name Out[4]: 'F\xc3\xb2' so that i inserted last_name=u'F\xf2'(Fò) and got back not an unicode object, a string. I do realize that print 'F\xc3\xb2' Fò so that should be acceptable... and I can see it correctly in my form and in tables.. but I don't understand what exactly is \xc3\cb2! Any hints? thanks sandro *:-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---

