Bug 1177830 - consider removing Chinese Simplified (GBK) from outgoing mail encoding options. r=mkmelin, r=ewong
This commit is contained in:
Родитель
609f7471bf
Коммит
460e58454b
|
@ -32,10 +32,8 @@ x-mac-icelandic.title = Icelandic (MacIcelandic)
|
|||
iso-2022-jp.title = Japanese (ISO-2022-JP)
|
||||
shift_jis.title = Japanese (Shift_JIS)
|
||||
euc-jp.title = Japanese (EUC-JP)
|
||||
gb18030.title = Chinese Simplified (GB18030)
|
||||
big5.title = Chinese Traditional (Big5)
|
||||
big5-hkscs.title = Chinese Traditional (Big5-HKSCS)
|
||||
gb2312.title = Chinese Simplified (GB2312)
|
||||
gbk.title = Chinese Simplified (GBK)
|
||||
euc-kr.title = Korean (EUC-KR)
|
||||
utf-7.title = Unicode (UTF-7)
|
||||
utf-8.title = Unicode (UTF-8)
|
||||
|
@ -60,7 +58,6 @@ windows-1255.title = Hebrew (Windows-1255)
|
|||
windows-1256.title = Arabic (Windows-1256)
|
||||
x-user-defined.title = User Defined
|
||||
ibm866.title = Cyrillic/Russian (CP-866)
|
||||
gb18030.title = Chinese Simplified (GB18030)
|
||||
x-mac-arabic.title = Arabic (MacArabic)
|
||||
x-mac-farsi.title = Farsi (MacFarsi)
|
||||
x-mac-hebrew.title = Hebrew (MacHebrew)
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
let charsetValues = "";
|
||||
|
||||
if (this.getAttribute("subset") == "sending")
|
||||
charsetValues = ["UTF-8", "EUC-KR", "gbk", "gb18030", "ISO-2022-JP",
|
||||
charsetValues = ["UTF-8", "EUC-KR", "gb18030", "ISO-2022-JP",
|
||||
"ISO-8859-1", "ISO-8859-7", "windows-1252"];
|
||||
|
||||
else if (!this.getAttribute("subset")
|
||||
|| this.getAttribute("subset") == "viewing")
|
||||
charsetValues = ["UTF-8", "Big5", "EUC-KR", "gbk", "ISO-2022-JP",
|
||||
charsetValues = ["UTF-8", "Big5", "EUC-KR", "gb18030", "ISO-2022-JP",
|
||||
"ISO-8859-1", "ISO-8859-2", "ISO-8859-7",
|
||||
"windows-874", "windows-1250", "windows-1251",
|
||||
"windows-1252", "windows-1255", "windows-1256",
|
||||
|
|
|
@ -19,7 +19,7 @@ var Ci = Components.interfaces;
|
|||
var kServerPrefVersion = 1;
|
||||
var kSmtpPrefVersion = 1;
|
||||
var kABRemoteContentPrefVersion = 1;
|
||||
var kDefaultCharsetsPrefVersion = 1;
|
||||
var kDefaultCharsetsPrefVersion = 2;
|
||||
|
||||
function migrateMailnews()
|
||||
{
|
||||
|
@ -172,7 +172,8 @@ function MigrateABRemoteContentSettings()
|
|||
*/
|
||||
function MigrateDefaultCharsets()
|
||||
{
|
||||
if (Services.prefs.prefHasUserValue("mail.default_charsets.migrated"))
|
||||
if (Services.prefs.prefHasUserValue("mail.default_charsets.migrated") &&
|
||||
Services.prefs.getIntPref("mail.default_charsets.migrated") == kDefaultCharsetsPrefVersion)
|
||||
return;
|
||||
|
||||
let charsetConvertManager = Components.classes['@mozilla.org/charset-converter-manager;1']
|
||||
|
|
|
@ -32,10 +32,8 @@ x-mac-icelandic.title = Icelandic (MacIcelandic)
|
|||
iso-2022-jp.title = Japanese (ISO-2022-JP)
|
||||
shift_jis.title = Japanese (Shift_JIS)
|
||||
euc-jp.title = Japanese (EUC-JP)
|
||||
gb18030.title = Chinese Simplified (GB18030)
|
||||
big5.title = Chinese Traditional (Big5)
|
||||
big5-hkscs.title = Chinese Traditional (Big5-HKSCS)
|
||||
gb2312.title = Chinese Simplified (GB2312)
|
||||
gbk.title = Chinese Simplified (GBK)
|
||||
euc-kr.title = Korean (EUC-KR)
|
||||
utf-7.title = Unicode (UTF-7)
|
||||
utf-8.title = Unicode (UTF-8)
|
||||
|
@ -60,7 +58,6 @@ windows-1255.title = Hebrew (Windows-1255)
|
|||
windows-1256.title = Arabic (Windows-1256)
|
||||
x-user-defined.title = User Defined
|
||||
ibm866.title = Cyrillic/Russian (CP-866)
|
||||
gb18030.title = Chinese Simplified (GB18030)
|
||||
x-mac-arabic.title = Arabic (MacArabic)
|
||||
x-mac-farsi.title = Farsi (MacFarsi)
|
||||
x-mac-hebrew.title = Hebrew (MacHebrew)
|
||||
|
|
Загрузка…
Ссылка в новой задаче