Closed Bug 295794 Opened 20 years ago Closed 20 years ago

Non-ASCII attachment file name not preserved

Categories

(MailNews Core :: Internationalization, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 234681

People

(Reporter: peter, Assigned: smontagu)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217

I received an e-mail from a contact in the former Soviet Union with a file name
including some non-ASCII characters. The file name was correctly displayed in
the attachments window. When I saved the attachment with "Save As", the correct
file name was displayed in the Save Attachment dialog. But when I actually saved
the file, the non-ASCII characters were replaced by underscores in the filename.
Note that I am using Windows XP which provides full system support for almsot
any Unicode characters in file names.

From the message source:
Content-Type: application/octet-stream; name="=?koi8-r?Q?67REV=ED=F01.PTX?="
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="=?koi8-r?Q?67REV=ED=F01.PTX?="


Reproducible: Always

Steps to Reproduce:
1. Highlight the message with this attachment.
2. Right click on the attachment and select "Save As".
3. Accept the file name in the "Save Attachment" dialog.

Actual Results:  
The file was saved as 67REV__1.PTX, i.e. with the two non-ASCII characters
replaced by underscores.

Expected Results:  
The file should have been saved as 67REVМП1.PTX (I assume by pasting this
correct version here that Bugzilla accepts Unicode!), the file name as intended
by the sender.

(Tried to do a search for an existing bug, but after waiting and then
researching and typing all of the above I am still getting a message "Please
stand by ...")

*** This bug has been marked as a duplicate of 234681 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.