Ivan Sagalaev wrote:
> Simon Willison wrote:
>> In the absence of anything better than that, I think it's safe to  
>> assume that CGI environment variables should always be ASCII encoded.
> 
> Talking about QUERY_STRING... While the string itself is in ASCII it has 
> urlencoded data and there the encoding matters. As fas as I can see in 
> practice browsers tend to encode those data in the same encoding as the 
> page from where those links come. So for decoding urlencoded 
> QUERY_STRING I think it's reasonable to use DEFAULT_CHARSET.

+1

gabor

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

Reply via email to