encoding sparql queries made to dbpedia

Hello,

While programmatically accessing dbpedia through GET using Jersey, I had 
to urlencode the query to UTF-8 and then replace the "+" with "%20". 
Does anyone know of a better way to do this ?

Thanks,

Monika

-- 
Dr Monika Solanki
F27 Department of Computer Science
University of Leicester
Leicester LE1 7RH
United Kingdom
Tel: +44 116 252 3828
Google: 52.653791,-1.158414
http://www.cs.le.ac.uk/people/ms491

Received on Saturday, 13 March 2010 07:37:24 UTC