Comment #5 on issue 16179 by [email protected]: Linux file:// listings
are sorted but not fully internationalized
http://code.google.com/p/chromium/issues/detail?id=16179
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=20706
------------------------------------------------------------------------
r20706 | [email protected] | 2009-07-14 18:32:02 -0700 (Tue, 14 Jul 2009) |
14 lines
Changed paths:
M
http://src.chromium.org/viewvc/chrome/trunk/src/base/file_util_posix.cc?r1=20706&r2=20705
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
------------------------------------------------------------------------
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---