Closed Bug 258856 Opened 20 years ago Closed 20 years ago

With 'always use this default char. encoding when replying' set, the recipient name got mangled

Categories

(MailNews Core :: Composition, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jshin1987, Assigned: jshin1987)

References

Details

(Keywords: fixed-aviary1.0, intl)

Attachments

(1 file)

If 'always use this default char. encoding in replies ' is checked in Edit |
Pref | Mail &News | Composition,  the name of the recipient in the composition
window got mangled if it has non-ASCII characters. That's because 'To:' (and
Reply-To/CC) are interpreted as if it(they) were in the default send-character
encoding which can be different from the character encoding of the message being
replied to. 

I'm gonna upload a patch shortly.
Attached patch patchSplinter Review
*** Bug 258855 has been marked as a duplicate of this bug. ***
Comment on attachment 158529 [details] [diff] [review]
patch

asking for r/sr
Attachment #158529 - Flags: superreview?(mscott)
Attachment #158529 - Flags: review?(bienvenu)
Comment on attachment 158529 [details] [diff] [review]
patch

+      rv = msgHdr->GetSubject(getter_Copies(subjectCStr));

since we're blowing off this error (which is the right thing to do, I think),
could you make it:

(void) msgHdr->GetSubject...

r=bienvenu with that nit
Attachment #158529 - Flags: review?(bienvenu) → review+
Attachment #158529 - Flags: superreview?(mscott) → superreview+
jshin, is this a recent regression or something that we've always done
incorrectly? If it's always been this way, I may port this patch to the aviary
branch. Though I'd ask. 
thanks for r/sr.  fix checked into the trunk

Scott, 
I think this patch (along with the patch for bug 260725) needs to be ported to
the branch because the patch that introduced this option ('always use the
default char. encoding when replying' and this problem ('Sender' address getting
mangled with the option on) was   in the branch (bug 234958). In case of the
subject address (the other problem I'm fixing here), it's been like that (it
ignored the char. encoding override and always used 'charset' specified in RFC
2047-style header like =?ISO-8859-1?Q?......?) for a long time, which is another
reason to fix this on the branch as well. 
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment on attachment 158529 [details] [diff] [review]
patch

Asking for a to branches. 

I've just applied the patch to the 1.7branch and built it. It worked fine as
expected.
Attachment #158529 - Flags: approval1.7.x?
Attachment #158529 - Flags: approval-aviary?
Comment on attachment 158529 [details] [diff] [review]
patch

I'll check this into aviary
Attachment #158529 - Flags: approval-aviary? → approval-aviary+
Keywords: fixed-aviary1.0
Comment on attachment 158529 [details] [diff] [review]
patch

Assuming this options is in 1.7, a=mkaply for 1.7
Attachment #158529 - Flags: approval1.7.x? → approval1.7.x+
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: