Chromium Code Reviews
DescriptionFTP: Multiple fixes for localized directory listings:
- fix detection of KOI8-R and possibly other encodings
- fix parsing Russian month names
When detecting the listing encoding, we need to not only
check whether the data can be converted using given encoding,
but also whether the result can be parsed as a valid directory listing.
Also, we only need to compare the first three characters of the
abbreviated month name, because that's how they're abbreviated
in FTP directory listings.
Finally, the Russian directory listings have swapped the "month" and "day of month" columns.
BUG=65917
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81081
Patch Set 1 #Patch Set 2 : polish #
Total comments: 6
Patch Set 3 : trying to make things more clear #
Total comments: 8
Patch Set 4 : after Jungshik's comments #Patch Set 5 : updates #Patch Set 6 : update copyright year for the bot #
Messages
Total messages: 16 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||