[Webkit-unassigned] [Bug 26791] [Gtk] Paste of rich text from firefox results garbled markup
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 3 08:21:47 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=26791
--- Comment #19 from Jiahua Huang <jhuangjiahua at gmail.com> 2009-07-03 08:21:46 PDT ---
(In reply to comment #18)
> I would encourage you to set a breakpoint in detectTextEncoding, because I
> believe your use-case should work fine if the gtk build has encoding detection
> wired up correctly.
Hi, I use TextResourceDecoder instead of simple detectTextEncoding.
this's the code:
> String html;
> html = TextResourceDecoder::create("text/html", "UTF-8", true)->decode(reinterpret_cast<char*>(data->data), data->length);
it works fine.
--
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