About size of Unicode string

Leif K-Brooks eurleif at ecritters.biz
Mon Jun 6 16:28:52 EDT 2005

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;

More information about the Python-list mailing list