[Webkit-unassigned] [Bug 26791] [Gtk] Paste of rich text from firefox results garbled markup
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 30 11:34:58 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=26791
eric at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |darin at apple.com
------- Comment #14 from eric at webkit.org 2009-06-30 11:34 PDT -------
(In reply to comment #12)
> Sorry,
> I tried this code, but it didn't work.
>
> > String html;
> > TextEncoding clipboardEncoding;
> > if (detectTextEncoding(reinterpret_cast<char*>(data->data), data->length, "utf8", &clipboardEncoding))
> > html = clipboardEncoding.decode(reinterpret_cast<char*>(data->data), data->length);
Does "UTF-8" work? I admit, I haven't used detectTextEncoding much.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list