diff options
author | yuzo@chromium.org <yuzo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-15 01:32:02 +0000 |
---|---|---|
committer | yuzo@chromium.org <yuzo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-15 01:32:02 +0000 |
commit | 807bc046a195e62f952f03a821525362fd818a8f (patch) | |
tree | 22ca7be4b070ccbc938a1f9f077b9a14b7b5eb7f /media/player | |
parent | 5c469efa13123f160b6f276a6eeda32d4fdea66d (diff) | |
download | chromium_src-807bc046a195e62f952f03a821525362fd818a8f.zip chromium_src-807bc046a195e62f952f03a821525362fd818a8f.tar.gz chromium_src-807bc046a195e62f952f03a821525362fd818a8f.tar.bz2 |
Fix: Linux file:// listings are sorted but not fully internationalized
Changed the code such that file names are converted to UTF-16 before
comparison. Ideally, the locale should be considered, but my conclusion is that
ignoring it is a reasonable tradeoff. Passing a locale-aware comparator
(collator) from src/chrome(or src/app?) to src/base requires too much effort, in
my opinion.
BUG=16179
TEST=Open a file:// URL for a directory that contains non-ascii-named files.
Observe that files are sorted properly in the list, in a case-sensitive manner.
Review URL: http://codereview.chromium.org/149449
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20706 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/player')
0 files changed, 0 insertions, 0 deletions