kml file indicates that it is indeed UTF-8 encoded. Thanks Frederik!
This commit is contained in:
parent
68b02a2348
commit
b5aa1554c0
@ -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
|
@ -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\"";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user