Closed Bug 36410 Opened 24 years ago Closed 24 years ago

"Character(s) out of charset range error" when replying as plaintext

Categories

(MailNews Core :: Composition, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: scottputterman, Assigned: nhottanscp)

Details

Send yourself an html message and send it as html
Reply to it, but when asked how to send it, send as plaintext
Before it sends you get a dialog that says:

"Message may not be sent correctly because it contains character(s) out of
charset range.  Send anyway or cancel to back to compose?"

First, I'm not sure why we get this error and second it seems to send it
correctly.  Also, we should probably change the second sentence to "Send anyway
or cancel to go back to compose?"
Kat - do you know if this is a new error msg put in by international?
It seems that this is being caused by double spaces.  For example, if I type
"This is a test" then I don't get this dialog.  If I type "This  is a test",
then I get this dialog.  cc'ing sspitzer because this sounds similar to the bug
where '?' is being put into plain text messages.
reassign to nhotta
Assignee: ducarroz → nhotta
The alert was put for bug 28908. The text should be corrected, as I mentioned in 
the bug. 
The problem about '?' is reported as 35105. This happens because the original 
html message was sent as us-ascii using html entities. But some of the entities 
are not actually in us-ascii range (e.g. 0xA0 for  ). 
Replying that in plain text with us-asciii, we have a charset conversion error. 
Thus not converted characters are replaced by '?'.
The mail goes out without the problem if you manually set the charset to 
ISO-8859-1.
I need to do that internally to replace us-ascii by the pref value 
mailnews.send_default_charset.
Status: NEW → ASSIGNED
Target Milestone: --- → M17
Checked in yesterday.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: M17 → M16
Blocks: 40246
No longer blocks: 40246
changing qa 
QA Contact: lchiang → esther
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.