Closed Bug 34243 Opened 20 years ago Closed 20 years ago

8bit chars in header stop display of msg

Categories

(MailNews Core :: MIME, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: BenB, Assigned: rhp)

Details

Attachments

(1 file)

Similar to the recent View Source problem: If an 8bit char (e.g. "ü") appears in
the header, nothing is displayed from there on, i.e. the body isn't rendered.

I'll attach a test msg.
Attached file Test msg
To make clear: This bug appears for normal display.

Yes, I know, 8bit chars shouldn't appear in the header (I already contacted the
responsible person for the generator), but we shouldn't fall over them either
:).
Also, I don't see the old header section anymore, but the normal headers look
like the ones in forwarded msgs now.
Looks like the header broadcaster/listeners are having problem with 8 bit 
data...hmm...weird. 

Any ideas Scott?

- rhp
Status: NEW → ASSIGNED
Target Milestone: --- → M18
Rich, did you actually make sure the broadcaster was getting called with a
character with 8-bit data (i.e. that the failure didn't happen earlier?). The
broadcaster I wrote uses unicode strings which are multibyte strings so in
theory they don't care if it's an 8-bit character....


Ben, you are using imap right? We did have a bug a while ago where 8 bit data in
the headers was throwing the imap parser out of whack. This could be related?
mscott,
View Source works correctly. The problem equally appears, if the folder resides
in Local Folders.
ahh thanks for the extra info ben. so it must be in mime then.
Don't worry Scott. I'll debug it when I am doing debugging work...but now, I'm 
just pushing these out to work on features. Just wondered if anything rang a 
bell.

- rhp
In Netscape 6 Beta1 (which still has the separate header section), only the
subject is truncated (from the 8bit char on), but the rest of the msg displays
fine.
This seems to render fine for me. View source as well.

- rhp
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
mee to
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.