The spam folder string is written to prefs.js as ASCII instead of Unicode.
Categories
(Thunderbird :: Preferences, defect)
Tracking
(Not tracked)
People
(Reporter: lifanovyaroslav, Unassigned)
Details
Steps to reproduce:
When adding a GMail account in the Thunderbird settings, you can specify the folder where junk emails will be dropped. However, after the restart, the settings item about moving emails to the junk folder is inactive. Also, when you try to reassign the folder again, the Junk and GMail/Junk folders are created.
Actual results:
When using GMail in non-Latin languages (in this case, in Russian, similarly in Ukrainian), the path to the Junk folder is "[Gmail]/Спам". However, in the profile's prefs.js file, the junk folder line looks like this:
"user_pref("mail.server.server1.spamActionTargetFolder", "imap://lifanovyaroslav%40gmail.com@imap.gmail.com/[Gmail]/!?0<");"
If you change this line in the settings file to
"user_pref("mail.server.server1.spamActionTargetFolder", "imap://lifanovyaroslav%40gmail.com@imap.gmail.com/[Gmail]/Спам");"
then in settings, the junk folder selection item will remain inactive, but the filtering will work. At the same time, for other folders (drafts, trash), you can specify similar folders (GMail/Черновики and GMail/Удаленные) and they will be displayed correctly in the prefs.js file.
Word "Спам" in Unicode is "\u0421\u043F\u0430\u043C", when strange symbols (!?0<) is "\u0021\u003F\u0030\u003C" or "21 3F 30 3C" in ASCII. Thus, you can see that in the "spamActionTargetFolder" parameter, the string is written as ASCII, and not as Unicode.
Expected results:
The name of the spam folder must be written to the settings file in the correct encoding.
| Reporter | ||
Updated•2 years ago
|
Description
•