Hello again!

I've been aware that bif:contains supports only ASCII and ISO Latin letters 
for a while and since all our current letters are in that range, it has 
caused a bit of confusion, but has been OK. We do have some requirements to 
support UTF-8, though, so this might become a problem.

Also, we just noted that this seems painful to work with. This is what we 
currently do, and I wonder if there is a better way: 
FILTER regex(str(?label), "^ø", "i")
and another with 
?lit <bif:contains> """'øye*'""" .
The former has to be encoded in UTF-8, whereas the latter in ISO-8859-1. This 
works, but seems a fragile hack. It seems to do the job for now, but if those 
two things would happen to be in the same query, different parts of the 
string would need to be encoded differently, it seems, which would be 
problematic. 

Is there a better way to work around these problems?


Kind regards 

Kjetil Kjernsmo
-- 
Senior Knowledge Engineer
Mobile: +47 986 48 234
Email: kjetil.kjern...@computas.com   
Web: http://www.computas.com/

|  SHARE YOUR KNOWLEDGE  |

Computas AS  PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 
1001


Reply via email to