Re: [Virtuoso-users] VSP and utf-8

2009-12-10 Thread Hugh Williams
Hi Lourens, The following documentation link provides details on wide vs narrow character handling in Virtuoso: http://docs.openlinksw.com/virtuoso/wideidentifiers.html#wideidentifiers Best Regards Hugh Williams Professional Services OpenLink Software Web: http://www.openlinksw.com Supp

Re: [Virtuoso-users] VSP and utf-8

2009-12-09 Thread lourens
Thanks Mitko, The charset_recode suggestion does work. http("v1_lab") does not: HT008: http requires string, blob or string session as argument 1 Is there a more convenient way to output UTF8 values without the explicit charset_recode as all VSP text output from my sparql queries will be UTF-8

Re: [Virtuoso-users] VSP and utf-8

2009-12-09 Thread Mitko Iliev
Hi Lourens, You could use http () function instead , it will output the utf8 string as is . The other way is to use http_value with wide string, i.e. utf8 first should be recoded to wide : "v1_lab" := charset_recode ("v1_lab", 'UTF-8', '_WIDE_') ; http_value ("v1_lab"); Best Regards, Mitko

[Virtuoso-users] VSP and utf-8

2009-12-09 Thread lourens
I am trying to get special characters print correctly in a vsp page. I am accessing RDF Literals. If I access them through JDBC and generate web-pages the output is as I expect. But outputting the value of a "sparql select" in a vsp page by a http_value call doesn't seem to use utf-8 encoding. I