Re: [OSM-dev] Non-ASCII characters in XML generated from PostGIS

2012-05-18 Thread Andy Allan
On 17 May 2012 20:51, Nick Whitelegg nick.whitel...@solent.ac.uk wrote: Hi, I'm having some problems with generating XML from a postgis database from PHP on the Freemap server:

Re: [OSM-dev] Non-ASCII characters in XML generated from PostGIS

2012-05-18 Thread Nick Whitelegg
There's a few issues here that are colliding. First of all, you're returning HTML entities in an XML document. That's going to throw an error. In your example, you have Atilde; , which isn't defined for XML, only for HTML.

Re: [OSM-dev] Non-ASCII characters in XML generated from PostGIS

2012-05-18 Thread Peter Körner
Am 18.05.2012 09:48, schrieb Andy Allan: I don't understand why you're trying to force the UTF-8 characters into an ISO-8859-1 encoding - which has barely enough code points to cover Western European languages, never mind Greek, Russian or any other OSM data. Stick to UTF-8 encoding in your XML,

[OSM-dev] Non-ASCII characters in XML generated from PostGIS

2012-05-17 Thread Nick Whitelegg
Hi, I'm having some problems with generating XML from a postgis database from PHP on the Freemap server: http://www.free-map.org.uk/0.6/ws//bsvr.php?bbox=44.0,11.0,445000.0,115000.0poi=place,amenity,naturalannotation=1inProj=27700outProj=epsg:4326 It's basically falling over on the