German request issue for München or Köln

  • 2
  • Problem
  • Updated 6 years ago
Hi!

I found some encoding issues for german API requests.

Im getting back MÃ1⁄4nchen instead of München or Köln instead of Köln

MÃ1⁄4nchen, Deutschland
MÃ1⁄4nchen

Deutschland
DL
DE
00000
48.36999893
11.80000019
448.00000000

http://api.wunderground.com/api/[key]...
Photo of Temps

Temps

  • 13 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 2
Photo of Temps

Temps

  • 13 Posts
  • 0 Reply Likes
Oh, no xml, here is a pic
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 123 Reply Likes
The browser doesn't seem to detect the UTF-8 encoding, but it should work correctly when you access the XML through a script or server. How are you accessing the XML? Is it only through the browser?
Photo of Temps

Temps

  • 13 Posts
  • 0 Reply Likes
No, same problem when I make the request from my app.
Photo of Temps

Temps

  • 13 Posts
  • 0 Reply Likes
And this is no UTF-8 encoding.
UTF-8 for München is M%C3%BCnchen. I think it's Latin-1.