LATC / EU-data-cloud

EU Linked Open Data cloud
23 stars 9 forks source link

Content type for Turtle needs charset parameter #10

Closed cygri closed 12 years ago

cygri commented 12 years ago

Looking at the HTTP headers for one of the Turtle files:

$ curl -I http://eurostat.linked-statistics.org/dsd/demo_pjan.ttl
HTTP/1.1 200 OK
Date: Mon, 28 Nov 2011 16:43:24 GMT
Server: Apache/2.2.14 (Ubuntu)
Last-Modified: Fri, 23 Sep 2011 10:14:15 GMT
ETag: "1d0a1c8-d994-4ad991247ea00"
Accept-Ranges: bytes
Content-Length: 55700
Content-Type: text/turtle

The Content-Type should be: text/turtle;charset=utf-8

This ensures that browsers display special characters correctly.

This should be solvable simply by updating the Apache config entry.

csarven commented 12 years ago

Updated.

cygri commented 12 years ago

I can confirm fixed. Thanks Sarven!