Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1272)

Unified Diff: platform/chromium/ClipboardChromium.cpp

Issue 149414: Mark HTML as UTF-8.... (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | platform/chromium/PasteboardChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform/chromium/ClipboardChromium.cpp
===================================================================
--- platform/chromium/ClipboardChromium.cpp (revision 45738)
+++ platform/chromium/ClipboardChromium.cpp (working copy)
@@ -334,6 +334,7 @@
m_dataObject->textHtml = createMarkup(selectedRange, 0,
AnnotateForInterchange);
+ m_dataObject->textHtml = String("<meta charset='utf-8'>") + m_dataObject->textHtml;
m_dataObject->htmlBaseUrl = frame->document()->url();
String str = frame->selectedText();
« no previous file with comments | « no previous file | platform/chromium/PasteboardChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698