Accents cause errors in XML

  • 2
  • Problem
  • Updated 11 months ago
Greetins.

I'm using the "forecast10day" feature in Spanish and I'm getting errors in the xml because in spanish there are some accents in fields as the "title" in "forecastday"
("Sábado" for example)

when I replace manually the accents in the document the errors are gone, so i can workaround the problem by adding the manually in my application but this is a unconvenient hack.

so I'd like to know if you are aware of this detail and if you will solve it soon.

--Best Regards.
Photo of methjai

methjai

  • 2 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 2
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
Some of our language strings need to be checked on once in a while. Can you post the URL (no need to post your key) that you're hitting and running into the issue?
Photo of jeromeMazet

jeromeMazet

  • 1 Post
  • 0 Reply Likes
Hello,
I have the same problem for France, when I use the URL :
http://api.wunderground.com/api/MYKEY/conditions/lang:FR/q/France/montpon-menesterol.xml

I get an accent in observation_location/Full AND  observation_location/ City fields that causes parse errors.

Would it be possible to correct this in these two fields and do so that there s not accent anymore  ?

Thanks a lot for your help and support :-)
Regards,
Jerome