Hi, I have a view processing a form:
def contact(request): manipulator = ContactManipulator () if request.POST: data = request.POST.copy() errors = manipulator.get_validation_errors (data) if not errors: manipulator.do_html2python(data) ... now my question is how do I know the encoding of the variables in data["something"] ? In my case it seems that the content is in utf-8 encoding for some fields, something else for other fields, and the python type of the fields are str. I want to send an email with the form content, but the accented characters are totally screwed and I don't know how to correctly convert them to a known charset... Any ideas? Thanks, Pistahh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users -~----------~----~----~----~------~----~------~--~---