diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-18 19:50:44 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-18 19:50:44 +0000 |
commit | 1e61db506aa4c0014d384c2d990525be38cdbc60 (patch) | |
tree | 05b6c855ad25c7c541423d85427643d9ae87fb47 /chrome/browser/resources/ntp/apps.js | |
parent | 6f6b0041b543f97fab16548168010c2ae799c688 (diff) | |
download | chromium_src-1e61db506aa4c0014d384c2d990525be38cdbc60.zip chromium_src-1e61db506aa4c0014d384c2d990525be38cdbc60.tar.gz chromium_src-1e61db506aa4c0014d384c2d990525be38cdbc60.tar.bz2 |
FTP: improve character encoding detection in cases where ICU's first guess is wrong.
Instead of using ICU's first guessed encoding immediately,
we ask it for all possible encodings, try them in order,
and use the first one that works.
For some sites this still results in a gibberish being displayed,
but at least the links are clickable so the site navigation
is possible.
BUG=61073
TEST=see bug
Review URL: http://codereview.chromium.org/4967001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/ntp/apps.js')
0 files changed, 0 insertions, 0 deletions