[Webkit-unassigned] [Bug 35635] New: [Qt] copy and paste greek symbols to Word, TextEdit results in ?'s being shown

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 3 03:17:08 PST 2010


           Summary: [Qt] copy and paste greek symbols to Word, TextEdit
                    results in ?'s being shown
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vestbo at webkit.org

This bug report originated from issue QTBUG-8429

--- Description ---

I'm not sure if this is a Qt or a webkit issue, and there is a Qt twist, so I'm
posting it here:

<p>-create an editable QWebView<br/>
-insert some greek letters (e.g. αβγδεζηθικλμπ)<br/>
-select them<br/>
-do a Copy<br/>
-open up Word or TextEdit.app and paste</p>

<p>You get ?'s, instead of the greek letters. Strangly other editors, like
QtCreator and Smultron have no trouble displaying them.</p>

<p>Theory: the data is on the clipboard just fine, but the encoding is not
being included.</p>

<p>I found a hacky workaround: use QClipboard to push the data back on again
like so:</p>

<p>  //something is goofy with the encoding, so copy again using QClipboard
  qApp->clipboard()<del>>setText( qApp</del>>clipboard()->text()

<p>This actually works, but in order to trap a slew of copy calls you have to
do stuff like reimplement QWebView's keyPressEvent function.</p>

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list