Hello, we are having some trouble developing a MW extension, using SMW with Virtuoso, when having string objects with special characters in the triple store.

When making a SPARQL query, through the “SMWSparqlDatabase::doquery ($sparql)” method, if the triple object has special characters, such as accents (i.e. á) or “ñ”, the result does not shows all the string, it shows only de part after the special char.

For example, having the following triple in Virtuoso:   "Marcos Nuñez"
And making this query, using the doQuery method:

DEFINE input:inference <>
DEFINE get:soft "replacing"
DEFINE input:same-as "yes"
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
select ?o where {
{ < > <> ?o }

 When we print the result, we get:


We would like to know if this is a known error, and if there is any workaround.

Thanks in advance,

Marcelo, Pablo y Danilo