[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:30:33 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=26791
------- Comment #12 from jhuangjiahua at gmail.com 2009-06-30 11:30 PDT -------
(In reply to comment #10)
> (From update of attachment 32072 [review])
> It seems like this would do a better job:
>
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);
I'm trying to find way
--
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