We're updating the issue view to help you get more done. 

SPARQL query with cyrillic chars does not work in Workbench

Description

(Reporting on behalf of Venelin @ Ontotext)

The Workbench does not appear to process queries with Cyrillic characters correctly.

Here is the scenario to reproduce :

1/ Insert following triple using Sesame Workbench

1 2 3 INSERT DATA { <a:subject1> <a:has_title> "Μια φορά" . }

2/ Verify that triple is stored correctly : verification passes OK - title is returned with correct encoding in Workbench

1 2 3 SELECT * { ?subject <a:has_title> ?title }

3/ Execute a regex query - which returns no results, which is the problem

1 2 3 4 SELECT DISTINCT ?uuid ?label WHERE{ ?uuid <a:has_title> ?label. FILTER regex(str(?label), "Μια φορά", "i") . }

When doing this same experiment using the commandline console instead of workbench, the query returns the expected result - so this seems to indicate that the problem is in how the Workbench encoded the query.

As an aside: I should point out that I have tried the workaround solution mentioned here: http://openrdf.callimachus.net/sesame/2.7/docs/articles/serverinstall.docbook?view#workbench-utf-8 for POST requests, but it made no difference.

Environment

Tomcat 7

Status

Assignee

Dale W. Visser

Reporter

JeenB

Labels

None

Components

Affects versions

2.7.11

Priority

Major