Dear all,
I run a small PHP application for which I'd like to use some RDF data with
Fuseki. To deploy Fuseki as a webapplication wrapped in Tomcat would best fit
into my server architecture.
However, I've encountered a problem with this kind of design: If a SPARQL query
contains special chars like the German "umlaut" (Ä,Ö,Ü,ß and so on, probably
other chars not in ANSI standard are also affected), it won't work with Fuseki
as a Tomcat application.
Consider the following sample data:
<subject> <predicate> "Bär" .
and this query:
SELECT * WHERE { ?s ?p "Bär" . }
It works absolutely fine
a) within the Fuseki web interface
b) when called from a PHP application if Fuseki is started via the command line
(on Windows 7 64-bit). (I'm using the arc2 library in PHP for SPARQL requests.)
But it won't work when called from PHP if Fuseki is wrapped inside Tomcat.
I'm quite sure this is an encoding problem somewhere. But is there anything I
can do here?
Thanks in advance and best regards
Christian