List of steps to reproduce (step by step, including full links if applicable):
- Run the following curl query:
curl -H "Content-Type: application/sparql-query" -d "SELECT ?x { BIND('Curaçao' As ?x) }" https://query.wikidata.org/sparql
What happens?:
Broken encoding in result-set:
Curaçao
What should have happened instead?:
Correct value should be returned:
Curaçao
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
- According to the SPARQL standard, the encoding is UTF-8: https://www.w3.org/TR/sparql11-protocol/#query-via-post-direct
- This problem occurs (in a more complicated setting) when trying to query Wikidata as part of a SPARQL SERVICE request from Jena Fuseki (see issue https://github.com/apache/jena/issues/1259)
- We opened a parallel issue on blazegraph: https://github.com/blazegraph/database/issues/224