About size of Unicode string

Frank Abel Cancio Bello frankabel at tesla.cujae.edu.cu
Mon Jun 6 17:43:40 EDT 2005


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



> -----Original Message-----
> From: python-list-bounces+frankabel=tesla.cujae.edu.cu at python.org
> [mailto:python-list-bounces+frankabel=tesla.cujae.edu.cu at python.org] On
> Behalf Of Leif K-Brooks
> Sent: Monday, June 06, 2005 4:29 PM
> To: python-list at 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
> 








More information about the Python-list mailing list