See

http://mail-archives.apache.org/mod_mbox/incubator-jena-users/201105.mbox/%[email protected]%3E

which is fixed in SVN (caveat the wrong SVN - see email about code move)

As to why your ruby setup is setting charset and mine does not, I don't know.

I have:

LANG=C
GDM_LANG=en_GB.utf8

        Andy


On 18/05/11 09:16, Michael Brunnbauer wrote:

re

I have installed ruby + fuseki-0.2.0-SOH.zip and can get the "query" shell
script working but not the "load" shell script:

chianti:~/Fuseki-0.2.0$ ./load
415 Must be application/x-www-form-urlencoded http://localhost:2021/testupdate
chianti:~/Fuseki-0.2.0$ cat load
#!/bin/sh
X='load<http://blogspace.com/swhack/chatlogs/rdflogs/2002-06-24.rdf>  
into<http://blogspace.com/swhack/chatlogs/rdflogs/2002-06-24.rdf>'
./s-update --service http://localhost:2021/testupdate "$X"

My ruby installation lives in /home/test/ruby so I had to change the first
line of all s-* scripts from

  #!/usr/bin/env ruby

to

  #!/usr/bin/env /home/test/ruby/bin/ruby

Any idea what is going wrong ?

cu,
brunni

On Tue, May 17, 2011 at 08:48:42PM +0100, Andy Seaborne wrote:
load:
-------------------------------------
#!/bin/bash

X='load<http://blogspace.com/swhack/chatlogs/rdflogs/2002-06-24.rdf>
into<http://blogspace.com/swhack/chatlogs/rdflogs/2002-06-24.rdf>'

../s-update --service http://localhost:2020/update "$X"
-------------------------------------
query:
-------------------------------------
#!/bin/bash

Q='select count(*) where { graph ?g { ?s ?p ?o }}'

../s-query --service http://localhost:2020/sparql "$Q"

-------------------------------------

s-* are the scripts from Fuseki.
http://openjena.org/repo/org/openjena/fuseki/0.2.0/fuseki-0.2.0-SOH.zip

Reply via email to