Closed Bug 111985 Opened 24 years ago Closed 24 years ago

Forwarding of non-ascii message as an attachment is not working correctly

Categories

(MailNews Core :: Internationalization, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.2alpha

People

(Reporter: marina, Assigned: bugzilla)

Details

(Keywords: intl, regression)

Attachments

(3 files)

in today's build 2001-11-26-03 i see several problems with a forwarded as an attachment newsarticle: the file name in the message body is displaying as "????" regardless of Mime/nomime info, manual correction doesn't work. When chosing "Open" option from the contextual menu the message body would display blank in the browser ( there is no actual attachment). Same message forwarded as an attachment to the IMAP acount would display correctly. I'll attach the message from the Inbox and i18n.mail.qa newsgroup
Keywords: intl
i see the same problem with opening an ascii newsarticle ( rightclick on the file name in the envelope, select "Open" and note that the contents are blank in the browser) but the file name in the envelope is showing up correctly (no "????")
nominating since this is a regression from the released version
Keywords: nsbeta1, regression
I think this is related to bug 52428 which changed to always use the system charset for attachment name. Looks like forward news as attachment uses the subject as a file name. Because news charset may vary, we cannot use the system charset. I think we should revert the change of bug 52428. Reassign to ducarroz. In attachment id=59179, the news subject is used as a file name and encoded by the system charset (windows-1252). Content-Disposition: inline; filename="=?windows-1252?Q?=3F=3F?="
Assignee: nhotta → ducarroz
I don't think we should fully revert the fix for bug 52428 but rather be smarter by looking at the sheme of the url in order to decide if we use the file system character set or not. Accepting.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.8
Keywords: nsbeta1nsbeta1-
Target Milestone: mozilla0.9.8 → mozilla1.2
Shouldn't we in mime_generate_attachment_headers just use attachment's charset instead of file system charset? I.e., encodedRealName = nsMsgI18NEncodeMimePartIIStr(real_name, charset, nsMsgMIMEGetConformToStandard()); instead of encodedRealName = nsMsgI18NEncodeMimePartIIStr(real_name, nsMsgI18NFileSystemCharset(), nsMsgMIMEGetConformToStandard()); where charset is taken from MsgAttachmentHandler
changing qa contact
QA Contact: ji → marina
i see it happening now with any non-ascii message regardless of mime/nomime header. Not only with newsarticle, changing summary, nominating.
Keywords: nsbeta1
Summary: Forwarding of non-ascii newsarticle as an attachment is not working correctly → Forwarding of non-ascii message as an attachment is not working correctly
Keywords: nsbeta1-
Keywords: nsbeta1nsbeta1-
This bug somehow got nsbeta- and i would like to re-nominate it and ask PDT to reconsider. The ???? in the attachment area instead of the correct file name look ugly and the fact that this is a regression from the shipped version has to be attended to.
i should've been more clear with this bug that has two parts ( maybe the news bug shoul've separeted into a different bug) : 1. non-ascii attachment displays as ??? on the envelope. 2. forward as an attachment a newsarticle ( any, ascii as well) has no body, try to rightclick on the attachment name on the envelope to open it and it'll come blank. Screen shot to follow
The problem with forwarding of a news article as been fixed recently.
it is not reproducable with 2002-02-25 build, marking as fixed per J-F comments
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verifying as such with 2002-02-25 build
Status: RESOLVED → VERIFIED
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: