QWebView::findText plus Unicode's Combining Diacritical Marks
-
Hi,
I'm using QtWebKit (QWebView) to display text, and I want to implement a search functionality in it via QWebView::findText.
Problem is that the text that has to be displayed contains so-called Unicode's Combining Diacritical Marks, and both QWebView::findText() and JavaScript's window.find() don't ignore those "marks" (characters) although they should.
For example, if there's a word "ti̇̀krăs" ("t", "i", Combining Dot Above, Combining Grave Accent, "k", "r", "a", Combining Breve, "s") in the text, findText() is unable to find that word when searching for query "tikras" ("t", "i", "k", "r", "a", "s").
Other WebKit-based browsers (Chrome, Safari) seem to work fine in this case.
Is there anything I can do about this situation?