diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-02 18:31:14 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-02 18:31:14 +0000 |
commit | 1d6be41bbbd90da118ba9a6295b2164ce97aca93 (patch) | |
tree | 2dffeae69e0860c191f8e0fb4a083eb0b68367e8 /AUTHORS | |
parent | 25abb027ed2b8c45391fed9aeb8013b528428583 (diff) | |
download | chromium_src-1d6be41bbbd90da118ba9a6295b2164ce97aca93.zip chromium_src-1d6be41bbbd90da118ba9a6295b2164ce97aca93.tar.gz chromium_src-1d6be41bbbd90da118ba9a6295b2164ce97aca93.tar.bz2 |
Linux: when reading html from clipboard, interpret BOM to mean
that the encoding is UTF-16. Otherwise, continue assuming it's
utf-8.
From firefox source:
/*
* "text/html" can be encoded UCS2. It is recommended that
* documents transmitted as UCS2 always begin with a ZERO-WIDTH
* NON-BREAKING SPACE character (hexadecimal FEFF, also called
* Byte Order Mark (BOM)). Adding BOM can help other app to
* detect mozilla use UCS2 encoding when copy-paste.
*/
BUG=29145
Review URL: http://codereview.chromium.org/455030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33585 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions