Hi, I'm having problems with the ' character (single quote)...
The URL I'm getting is http://ws.geonames.org/search?name_equals=Bassin%20d%27Arcachon&country=FR&maxRows=30&style=FULL&lang=fr
The GeoName is Bassin d'Arcachon, I'm using php like this:
Code:
$xml = simplexml_load_file("http://ws.geonames.org/search?name_equals=".rawurlencode(utf8_encode(stripslashes($loc)))."&country=$cp&maxRows=30&style=FULL&lang=fr");
where $loc is utf8-decoded and rawurldecoded already.
Does any of you have this problem?
This is the location: http://www.geonames.org/3037252/bassin-d-arcachon.html