umlauts
I V
ivlenin at gmail.com
Sat Oct 17 15:56:07 EDT 2009
On Sat, 17 Oct 2009 21:24:59 +0330, Arian Kuschki wrote:
> I just checked and I see the following in the headers: Content-Type
> text/xml; charset=UTF-8
>
> Where does it say ISO-8859-1?
In the headers returned via urllib (and via wget). But checking in
Firefox, it does indeed specify UTF-8 in the content type. Using wget,
but specifying the same User-Agent header that Firefox uses, I get the
same UTF-8 Content-Type that I see in Firefox. How bizarre.
More information about the Python-list
mailing list