| Index: platform/chromium/PasteboardChromium.cpp
|
| ===================================================================
|
| --- platform/chromium/PasteboardChromium.cpp (revision 45738)
|
| +++ platform/chromium/PasteboardChromium.cpp (working copy)
|
| @@ -1,10 +1,10 @@
|
| /*
|
| * Copyright (c) 2008, 2009, Google Inc. All rights reserved.
|
| - *
|
| + *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are
|
| * met:
|
| - *
|
| + *
|
| * * Redistributions of source code must retain the above copyright
|
| * notice, this list of conditions and the following disclaimer.
|
| * * Redistributions in binary form must reproduce the above
|
| @@ -14,7 +14,7 @@
|
| * * Neither the name of Google Inc. nor the names of its
|
| * contributors may be used to endorse or promote products derived from
|
| * this software without specific prior written permission.
|
| - *
|
| + *
|
| * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| @@ -71,6 +71,7 @@
|
| void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame)
|
| {
|
| String html = createMarkup(selectedRange, 0, AnnotateForInterchange);
|
| + html = String("<meta charset='utf-8'>") + html;
|
| ExceptionCode ec = 0;
|
| KURL url = selectedRange->startContainer(ec)->document()->url();
|
| String plainText = frame->selectedText();
|
|
|