freme-project / e-Link

Apache License 2.0
0 stars 0 forks source link

DBpedia Germany results in invalid UTF-8 #73

Open pheyvaer opened 7 years ago

pheyvaer commented 7 years ago

The following call gives an UTF-8 error.

curl -X POST --header 'Content-Type: text/turtle' --header 'Accept: text/turtle' -d '_:d1 <http://www.w3.org/2005/11/its/rdf#taIdentRef> <http://dbpedia.org/resource/Germany>' 'https://api.freme-project.eu/current/e-link/documents/?templateid=4477'

However, the same call, but while using Berlin instead of Germany works.

curl -X POST --header 'Content-Type: text/turtle' --header 'Accept: text/turtle' -d '_:d1 <http://www.w3.org/2005/11/its/rdf#taIdentRef> <http://dbpedia.org/resource/Berlin>' 'https://api.freme-project.eu/current/e-link/documents/?templateid=4477'

P.S. This is not really an issue for SWIB. I just encountered during the preparation of my SWIB slides.

m1ci commented 7 years ago

it seems this is related to smth similar to http://stackoverflow.com/questions/11320108/what-does-the-message-invalid-byte-2-of-a-3-byte-utf-8-sequence-mean

Need to investigate more.

m1ci commented 7 years ago

a very rare issue, currently the template is unavailable, thus this is not a critical issue, left open for any further developments.