kml file indicates that it is indeed UTF-8 encoded. Thanks Frederik!

This commit is contained in:
Dennis Luxen 2011-03-30 18:18:29 +00:00
parent 68b02a2348
commit b5aa1554c0
2 changed files with 3 additions and 2 deletions

View File

@ -2,4 +2,5 @@ The following people contributed code to the Open Source Routing Machine:
Christian Vetter Christian Vetter
Dennis Luxen Dennis Luxen
Ruslan Krenzler Ruslan Krenzler
Frederik Ramm

View File

@ -266,7 +266,7 @@ public:
intToString(reply.content.size(), tmp); intToString(reply.content.size(), tmp);
reply.headers[0].value = tmp; reply.headers[0].value = tmp;
reply.headers[1].name = "Content-Type"; reply.headers[1].name = "Content-Type";
reply.headers[1].value = "application/vnd.google-earth.kml+xml"; reply.headers[1].value = "application/vnd.google-earth.kml+xml; charset=UTF-8";
reply.headers[2].name = "Content-Disposition"; reply.headers[2].name = "Content-Disposition";
reply.headers[2].value = "attachment; filename=\"route.kml\""; reply.headers[2].value = "attachment; filename=\"route.kml\"";