Hello All, Django brings me to python ... so I'm not a python specialist. I wish I could you the newforms library and get rid of the oldforms in my django projects. But I can't use newforms with French language. I read a lot of problems with unicode strings and special caracters. But I couldn't resolve my problem.
Here is my configuration : * DEFAULT_CHARSET = 'utf-8' in global_settings.py * sys.setdefaultencoding('utf-8') sitecustomize.py * DB tables encoded as utf8_general_ci for exemple if I run : from django.newforms import * w = SelectMultiple() print w.render('beatles', ['J', 'P', 'R'], choices=(('J', 'Johné'), ('P', 'Paulà'))) I got : UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 86: ordinal not in range(128) I don't know where to look for and how to solve this problem. I'm wondering if this is a system error due to local settings or if it's a django problem. Any help or comments appreciated. xav --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---