Closed
Bug 1404657
Opened 7 years ago
Closed 6 years ago
deprecation warning of encodeMimePartIIStr_UTF8 when parsing a non-UTF-8 encoded message subject
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 60.0
People
(Reporter: aceman, Assigned: aceman)
References
Details
Attachments
(1 file)
1.14 KB,
patch
|
jorgk-bmo
:
review+
jorgk-bmo
:
feedback+
|
Details | Diff | Splinter Review |
There is still some caller of encodeMimePartIIStr_UTF8() that passes in a non-UTF-8 charset argument: DEPRECATION WARNING: Encoding to non-UTF-8 values is obsolete You may find more details about this deprecation at: http://bugzilla.mozilla.org/show_bug.cgi?id=790855 file:///tbird-bin/dist/bin/components/mimeJSComponents.js 443 encodeMimePartIIStr_UTF8 1 Deprecated.jsm:79 warning resource://gre/modules/Deprecated.jsm:79:5 encodeMimePartIIStr_UTF8 file:///tbird-bin/dist/bin/components/mimeJSComponents.js:443:7 I traced it to https://dxr.mozilla.org/comm-central/rev/3dfe0c40ba28093a2c4638126fd1df3bb204561d/mailnews/base/util/nsMsgUtils.cpp#722 which is run when a message with non-UTF-8 charset encoded subject is first parsed.
Attachment #8914016 -
Flags: review?(Pidgeot18)
Comment on attachment 8914016 [details] [diff] [review] 1404657.patch Review of attachment 8914016 [details] [diff] [review]: ----------------------------------------------------------------- I have tested this that there is no message with this patch and the subject is correctly displayed and also searching by the subject (with accented chars) works via quick filter bar.
Comment 3•7 years ago
|
||
Comment on attachment 8914016 [details] [diff] [review] 1404657.patch ;-)
Attachment #8914016 -
Flags: feedback+
Comment 4•6 years ago
|
||
Comment on attachment 8914016 [details] [diff] [review] 1404657.patch Time to move this forward.
Attachment #8914016 -
Flags: review?(Pidgeot18) → review+
The discussion of this fix can be found in the IRC logs of #maildev from 23rd Sep 2017.
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/be57cca86031 encode message subject to UTF-8 in nsMsgUtils.cpp::NS_MsgStripRE. r=jorgk
Updated•6 years ago
|
Target Milestone: --- → Thunderbird 60.0
You need to log in
before you can comment on or make changes to this bug.
Description
•