Pistahh wrote:
> now my question is how do I know the encoding of the variables in
> data["something"] ?
>   
This encoding should be the same that you're using for output 
(settings.DEFAULT_CHARSET).

However nothing is preventing some broken user agent (like some badly 
written script) to send you some garbage instead of what you expect. So 
in general case this can't be solved. I think your best bet is to assume 
the correct encoding (settings.DEFAULT_CHARSET), try to decode it and 
let the "bad" client have an error message.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to