Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QWebView::findText plus Unicode's Combining Diacritical Marks
Forum Updated to NodeBB v4.3 + New Features

QWebView::findText plus Unicode's Combining Diacritical Marks

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pypt
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved