Thanks to all. Andrew's answer was an excellent explanation. Thanks Leif for
you suggestion.



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Leif K-Brooks
> Sent: Monday, June 06, 2005 4:29 PM
> To: python-list@python.org
> Subject: Re: About size of Unicode string
> 
> Frank Abel Cancio Bello wrote:
> >     request.add_header('content-encoding', 'UTF-8')
> 
> The Content-Encoding header is for things like "gzip", not for
> specifying the text encoding. Use the charset parameter to the
> Content-Type header for that, as in "Content-Type: text/plain;
> charset=utf-8".
> --
> http://mail.python.org/mailman/listinfo/python-list
> 





-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to