Bug 34567 - [Chromium][Mac] Clean up special utf-8 tag in clipboard code
Summary: [Chromium][Mac] Clean up special utf-8 tag in clipboard code
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 02:03 PST by Kinuko Yasuda
Modified: 2010-02-08 18:48 PST (History)
2 users (show)

See Also:


Attachments
Patch (3.00 KB, patch)
2010-02-04 22:02 PST, Kinuko Yasuda
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kinuko Yasuda 2010-02-04 02:03:16 PST
On Mac we need to explicitly specify charset=utf-8 when exporting HTML for the clipboard or drag/drop.
To work around this we prepend special meta tags to force utf-8 charset.
see https://bugs.webkit.org/show_bug.cgi?id=27262
(Safari doesn't have this problem because it exports web pages as WebArchive format.)

Because this can happen in other places (like omnibox) in chromium Mac, I put a change in chromium code rather than having the workaround in WebKit port:
http://src.chromium.org/viewvc/chrome/trunk/src/app/clipboard/clipboard_mac.mm?r1=37955&r2=37954&pathrev=37955

So that we no longer need the workaround in WebKit separately.  Let's clean up them.
Comment 1 Kinuko Yasuda 2010-02-04 22:02:27 PST
Created attachment 48199 [details]
Patch
Comment 2 WebKit Commit Bot 2010-02-08 18:48:50 PST
Comment on attachment 48199 [details]
Patch

Clearing flags on attachment: 48199

Committed r54523: <http://trac.webkit.org/changeset/54523>
Comment 3 WebKit Commit Bot 2010-02-08 18:48:55 PST
All reviewed patches have been landed.  Closing bug.