Closed Bug 122569 Opened 23 years ago Closed 23 years ago

Saving as draft with едц in subject changes to diamond characters

Categories

(MailNews Core :: Composition, defect)

x86
Windows 2000
defect
Not set
trivial

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: magnus.malmsten, Assigned: nhottanscp)

Details

(Keywords: intl)

Attachments

(6 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7+) Gecko/20020120 BuildID: 20020120 Saving as draft with scandinavian characters åäöÅÄÖ gives user a warning about changing message character coding. When saving anyway scandinavian characters converts to different diamond characters in subject. Reproducible: Didn't try Steps to Reproduce: 1. Create a new mail with scandinavian characters in subject 2. save as draft 3. Actual Results: subject with scandinavian characters converts to different diamond instead of scandinavian characters. Expected Results: save subject with scandinavian characters without warning to user
Reporter: Maybe a summary in English would be better?
Summary: Linux työryhmän kokous → Saving as draft with едц in subject changes to diamond characters
On linux, I have checked the pref / mail & newsgroups / Message Composition to use "For messages that contain 8-bit characters, user "quoted printable" MIME encoding...." Drafts here save with correct characters (using norwegian characters as well as those pasted from this bug). No alert appeared.
Enabling the setting for "For messages that contain 8-bit characters, user "quoted printable" MIME encoding...." had no effect on this one. The mail draft saving works perfectly with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914 but not with this build. Preferences could be different.
Severity: normal → trivial
Reassign to nhotta. I copy/paste 'едц' to the subject field but did not see the warning, I used my debug build updated this morning, the charset of the message was ISO-8859-1 (set in the "Message Compose" preference). Cc to IQA.
Assignee: ducarroz → nhotta
Keywords: intl
i am mot able to reproduce it on my Win2K machine. Those chars are displaying correctly in Drafts and i don't get any warning while saving. Magnus, what's your system charset?
QA Contact: sheelar → marina
System Charset is ISO-8859-1 on display and compose
magnus, would you please attach the saved mail since we are not able to reproduce it in house. Thanks.
Attached file Draft message attached
Sending the mail converted the å characters to a* ä chars to a¨ Had to correct them manually to get it right.
Subject: Linux =?us-ascii?Q?ty=F6ryhm=E4n?= kokous It should be "ISO-8859-1" instead of "us-ascii". That might be something to do with the problem.
yes, i wanted to ask you the same question as Naoki did: the header in the source is not correct, looking at your environement sv,en-en the header should say Western 8859-1 and you can not get any warning of the mismatch charset in that case. In your case you get us-ascii in header and that would explain the poping -up alert. Magnus, could you please try to compose a new message with the latest build and attach it ( without altering chars) so that we could be able to see why you're getting a wrong header. Then you're saving to Draft, are you Editing Drafts??
I checked linux 0.9.7 build (and also the latest build), with the same subject copied over from the attached mail, I got the right MIME header specifying the charset as ISO-8859-1, not us-ascii. And I have the same preferences: with quoted printable enabled, composition and display charset set to iso-8859-1. And I started the browser in sv locale.
Installed Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8+) Gecko/20020131 and composed a new mail, saved as draft and saved on local drive and attached the file. Looks like the header is still us-ascii
I wonder how the previous message did get the us-ascii in the subject line. Could a previous version or another mail program change it when it was edited in draft?
Sorry to say that i got this bug again today. With User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8+) Gecko/20020204 in Subject: =?us-ascii?Q?Offertbeg=E4ran?=
Magnus, thanks for keeping eye on this bug. Now i am wondering whether it is the same problem that was reported in bug #57731.Looking as the source of the header that Bob Jung provided the charset was treated as us-ascii in his case as well.The display at that time of the едц was a square and not diamond chars, it wasn't a saving problem either. Though it does look like there are similarities in those two cases ( besides those that we were not able to reproduce it either :-) Naoki, could you take a look at this problem?
Have been able to reproduce bug with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8+) Gecko/20020218 1. Compose a mail with едц in subject and едц in contents 2. save as draft 3. open draft and edit text 4. save draft result saving_edited_draft.gif when saved (ok clicked) savedasdraft.gif
Attached image Edited draft is saved
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914 shows right of едц in subject line in draft folder empty
magnus, thank you for detailed steps , the key to reproduce your problem was saving to Drafts TWICE. When you do so you do get a charset warning and if you save it anyway then you have (i've got) ????? . I can confirm this bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I check in some changes for forward inline and draft recently. Does this still happen?
Status: NEW → ASSIGNED
Yes now it works for me. the second time you save to draft it gives a charset warning but it does not mess up scandinavian characters now. Nice work, thank you !!
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
verifying
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

Created:
Updated:
Size: