Closed Bug 25674 Opened 26 years ago Closed 26 years ago

Charset reported as us-ascii even though mail contains 8 bit characters

Categories

(MailNews Core :: Composition, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bratell, Assigned: rhp)

Details

When composing a mail with 8 bit characters and sending as plain text the charset detector doesn't work so the mail is marked with: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit instead of Content-Type: text/plain; charset=iso8859-1; format=flowed Content-Transfer-Encoding: 8bit (or similarly) which used to be the case before christmas. This is with a CVS debug build from today (january 29).
reassign to rhp
Assignee: ducarroz → rhp
Good catch...simple mistake and pretty safe fix. - rhp
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Target Milestone: M14
Now the Content-Type is right: text/plain; charset=ISO-8859-1; format=flowed but there is no Content-Transfer-Encoding at all. Shouldn't there be a Content-Transfer-Encoding: 8bit ?
I tested with this and had this header: Content-Transfer-Encoding: quoted-printable with this 8 bit email. This is correct. - rhp
No such thing as quoted printable in the mail I tested with and the characters are sent as 8-bit. I composed it in the HTML-mode, in the menu selected to send it as plain text. If there are such thing as a checkbox for quoted printable I've surely unchecked it. I hope this is enough to find the bug.
Hmm....I tried composing an HTML message, forced it to send plain text only and I got: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable in the part that was the main body. - rhp
I don't know why your mail is converted to quoted-printable and mine is not. I've looked at my prefs.js file, which I could access from here, and it has no mention whatsoever of quoted printable. Could you have set your mozilla to send such mails in some way?
I don't think so....nothing pref wise....it should be doing quoted printable for these types of emails. It would be good to have someone in QA check this out. Lisa, can someone in your group give this one a try. - rhp
I think I've found the reason. Our mailserver automatically replaces any quoted printable text with a 8-bit version. Quoted Printable is against the "religion" here so we are all very happy with that. But it confused me while debugging. With that problem out of the way, I can verify the bug as fixed.
Status: RESOLVED → VERIFIED
Sorry, I'm behind on my bug notifications. Peter can help to double check.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.