umlauts

2009-10-17 Thread Arian Kuschki
Hi all this has been bugging me for a long time and I do not seem to be able to understand what to do. I always have problems when dealing input text that contains umlauts. Consider the following: In [1]: import urllib In [2]: f = urllib.urlopen("http://www.google.de/ig/api?weather=Muenchen";)

Re: umlauts

2009-10-17 Thread Arian Kuschki
a lot. Arian On Sat 17, 20:17 +0200, Diez B. Roggisch wrote: > StarWing schrieb: > >On 10月18日, 上午12时50分, "Diez B. Roggisch" wrote: > >>StarWing schrieb: > >> > >> > >> > >>>On 10月17日, 下午9时54分, Arian Kuschki > >>>wrote:

Re: umlauts

2009-10-17 Thread Arian Kuschki
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? On Sat 17, 20:57 +0200, I V wrote: > On Sat, 17 Oct 2009 18:54:10 +0200, Diez B. Roggisch wrote: > > > This is wierd. I looked at the site in FireFox - and it was displayed

Re: umlauts

2009-10-17 Thread Arian Kuschki
Hm yes, that is true. In Firefox on the other hand, the response header is "Content-Type text/xml; charset=UTF-8" On Sat 17, 13:16 -0700, Mark Tolonen wrote: > > "Diez B. Roggisch" wrote in message > news:7jub5rf37div...@mid.uni-berlin.de... > [snip] > >This is wierd. I looked at the site in Fi