So I have succeeded in uploading graph to database, but looks like it is not the end of the story :)
After triples were uploaded using SPARQL INSERT DATA query, web-interface sparql showed non-english literals correctly. But then I tried to get these strings using .NET provider virtado3... and received garbage. As these strings are returned correctly through standard web-interface, the most probable problem reason was ADO.NET provider. I have looked through it's code using Reflector and found some code like: Encoding.GetEncoding("iso-8859-1").GetBytes(s) As iso-8859-1 is one-byte encoding, I think non-english symbols are just lost during conversion. Would be very grateful for any comments about this approach. 2010/1/30 Alexander Sidorov <alexi...@gmail.com> > Hi Hugh, > > I have localized the problem and can be more specific now. > > I use two ways to add triples to the store: > 1. SPARQL INSERT DATA query > 2. DB.DBA.TTLP stored procedure > The first way work normally, but the second stores triples with incorrect > encoding (and nonenglish literals are displayed wrong). > > Regards, > Alexander > > 2010/1/29 Hugh Williams <hwilli...@openlinksw.com> > > Hi Alexander, >> >> By what means are you inserting and retrieving the literals ? What are the >> literal values being inserted and what are the values that are being >> retrieved incorrectly ? If you can provide minimal steps to reproduce then >> we can attempt recreation in-house ... >> >> Best Regards >> Hugh Williams >> Professional Services >> OpenLink Software >> Web: http://www.openlinksw.com >> Support: http://support.openlinksw.com >> Forums: http://boards.openlinksw.com/support >> Twitter: http://twitter.com/OpenLink >> >> On 29 Jan 2010, at 14:41, Alexander Sidorov wrote: >> >> > Hello! >> > >> > I am using Virtuoso Open Source 5 and have problems storing and >> retrieving non-english literals. >> > Virtuoso.ini: Charset = UTF-8 >> > >> > Is this a known problem? >> > >> > Regards, >> > Alexander >> > >> ------------------------------------------------------------------------------ >> > The Planet: dedicated and managed hosting, cloud storage, colocation >> > Stay online with enterprise data centers and the best network in the >> business >> > Choose flexible plans and management services without long-term >> contracts >> > Personal 24x7 support from experience hosting pros just a phone call >> away. >> > >> http://p.sf.net/sfu/theplanet-com_______________________________________________ >> > Virtuoso-users mailing list >> > Virtuoso-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/virtuoso-users >> >> >