From: Sean B. <sea...@ma...> - 2007-04-23 11:16:40
|
On 19 Apr 2007, at 17:20, Sean Bechhofer wrote: > > Hi > > I've recently started using RAP 0.9.4. Seems to be going well, but I > have a problem with non-ASCII characters in query results. I'm using > RAP to query a sesame2 server using SPARQL. The data in the > repository has literals with non-ascii characters (encoded using > UTF-8). If I query the repository using XML as the output format, the > result I get back contains the literals as I'd expect. > > However, if I query with an array output format, when I inspect the > literal values, they end up being truncated at the point where the > non-ASCII characters occur in the literal. > > Any ideas? Is it possible to get these literals using the array > style? Do I need to set something in order to make this happen? I > guess I *could* use xml query output, but I like the convenience of > the array style. I think this is probably an issue somewhere within the methods that convert the results in the SPARQL Engine. I tried querying using the xml output format, then parsing the results myself and pulling out the literals. That works fine..... Sean -- Sean Bechhofer School of Computer Science University of Manchester sea...@ma... http://www.cs.manchester.ac.uk/people/bechhofer |