Hello Lars, It means that I should write one more %-something formatter for sprintf. Or, more probably, two of them --- for strings in narrow charset and for strings that are actually UTF-8 but for some reason stored in a narrow LATIN-1 column. I'm providing this patch soon.
Best Regards, Ivan Mikhailov OpenLink Software http://virtuoso.openlinksw.com On Thu, 2011-12-08 at 11:03 +0100, Lars Marius Garshol wrote: > We are using the RDF views (of RDBMS data) in Virtuoso, and it's working > really well for us. However, we have a problem with the URIs generated by > Virtuoso. > > The root cause of the problem is that the primary keys in the original > databases contain non-ASCII characters. This is not good, but it's the way it > is, and we can't change it. > > > > We want to use these primary keys in the resulting RDF, which means we do > something like this: > > create iri class prd:product_iri "http://example.org/product/%s" > (in product_id varchar not null) . > > Unfortunately, this causes the resulting URI to look like this in SPARQL > query results: > > http://example.org/product/Ø123 ...
