Jena result in UTF-8 format

Posted by john on Stack Overflow See other posts from Stack Overflow or by john
Published on 2010-04-20T11:30:32Z Indexed on 2010/04/20 11:33 UTC
Read the original article Hit count: 334

Filed under:
|
|

How can I get in Jena (Java language) result in UTF-8 format? My code:
Query query= QueryFactory.create(queryString);
QueryExecution qexec= QueryExecutionFactory.sparqlService("http://lod.openlinksw.com/sparql", queryString);
ResultSet results = qexec.execSelect();
List<QuerySolution> list = ResultSetFormatter.toList(results); System.out.println(list.get(i).get("churchname"));

© Stack Overflow or respective owner

Related posts about jena

Related posts about resultset