DescriptionAdded an observer for 'pref::kDefaultCharset' change I forgot to add in r15113 (http://src.chromium.org/viewvc/chrome?view=rev&revision=15113) .
Besides, set referrer_charset_ (used in guessing the C-D charset in GetFileNameFromCD) to pref::kDefaultCharset without any q values appended.
TEST=1. Set the default charset in Options | Advanced | Fonts & Languages to ISO-8859-1.
2. Type http://i18nl10n.com/moztest/random21.yyy in the omnibox and the filename in the download bar should start with "ÇѱÛ21"
3. Change the default charset to Korean
4. Try #2 again and the filename in the download bar should start with '한글21'.
BUG=1148
(http://crbug.com/1148 )
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20965
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #
Total comments: 1
Messages
Total messages: 3 (0 generated)
|