Closed Bug 104447 Opened 23 years ago Closed 23 years ago

Vertical bars after spaces in mime encoded header with mixed characters

Categories

(MailNews Core :: Internationalization, defect, P2)

x86
Windows 98
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.9

People

(Reporter: bugzilla3, Assigned: mozilla)

References

Details

(Keywords: intl)

Attachments

(4 files)

As you can see on the attached screenshot, bold vertical bars are inserted when
there are spaces between latin and non latin characters. In the highlighted
message, subject contains some combinations of the "a" and "b" characters with
various ones from the greek alphabet. It is obvious that not all combinations
result in vertical bars. And there's no problem in message pane.

Build 2001101203 (note that I see it for months).
Attached image screenshot
This is the message source for the highlighted header in the previous screenshot:

X-Accept-Language: el, en
MIME-Version: 1.0
To: dipa@ath.forthnet.gr
Subject: a =?ISO-8859-7?Q?=E1?= a =?ISO-8859-7?Q?=E2?= a 
	=?ISO-8859-7?Q?=E3?= a =?ISO-8859-7?Q?=E4?= a 
	=?ISO-8859-7?Q?=E5?= a =?ISO-8859-7?Q?=E6?= a 
	=?ISO-8859-7?Q?=E7?= a =?ISO-8859-7?Q?=E8?=     b 
	=?ISO-8859-7?Q?=E1?= b =?ISO-8859-7?Q?=E2?= b 
	=?ISO-8859-7?Q?=E3?= b =?ISO-8859-7?Q?=E4?= b 
	=?ISO-8859-7?Q?=E5?= b =?ISO-8859-7?Q?=E6?= b 
	=?ISO-8859-7?Q?=E7?= b =?ISO-8859-7?Q?=E8?= 
Content-Type: text/plain; charset=ISO-8859-7; format=flowed
Content-Transfer-Encoding: 7bit
Status:   
Confirm based on the screen shot?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
Keywords: intl
On my Japanese XP with 10/12 0.9.4 build, Japanese period is displayed instead.
Tabs used for line folding are not removed and shown in thread pane. I think
jgmyers fixed this before, cc to him.

*** This bug has been marked as a duplicate of 64948 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Although this is also causing bug 64948, the root cause of this symptom
is different from bug 64948.  Folding long header is broken, thus
should be tracked as a different bug.  Re-opening.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Reassign to myself.  Change TM to 0.9.6.
Assignee: nhotta → taka
Status: REOPENED → NEW
Target Milestone: --- → mozilla0.9.6
Attached patch proposed fixSplinter Review
Taka, could you put a decsription about your change?
Cc to ducarroz.
Bug 73403 tracks the error in the header encoder/folder.

The new code checks if there is a LWSP character already at where we are
about to fold.  If there is, inserts CR/LF before this LWSP instead of
inserting extra TAB regardless which causes this symptom.  This way,
new code becomes RFC-822 compliant as opposed to the previous code.

As for MIME encoded word, it always uses SPACE as LWSP.

Status: NEW → ASSIGNED
Shall we close this bug as dup of bug 73403 ?
My conclusion is to deal with bug 73403 as a different problem from this bug.
Keep this bug opened.

Naoki,
Who can be s/sr for this propsed fix?
Added nsbeta1 keyword.
Keywords: nsbeta1
0.9.6 is out the door.

change TM to 0.9.7.
Target Milestone: mozilla0.9.6 → mozilla0.9.7
change TM to 0.9.8.

Priority: -- → P2
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Set TM to 0.9.9.
Target Milestone: mozilla0.9.8 → mozilla0.9.9
As a result of new MIME encoder, which is originally written to fix #73403,
this bug should be also fixed by applying the proposed patch (id=67007) 
submitted on 1/29/2002.  Please down load and apply the patch and see how
it fixes this problem as well.
I understand that, due to the "international" nature of this bug, I am pretty
responsible for testing the proposed fix. Alas, I don't have a building
environment available. Is it possible for someone else to make a build with this
pach? Thanks in advance. 
Just close it as dup of bug 73403 :-))
Patch still makes Mail client unusable (build 2002020103) or even crashing
(build 2002013103). Tested on Win98 and Win2K.
Don't think the files I gave you as patch.  It's crashing due to unresolved
symbols at runtime, not any other reason which might be introduced by the patch.

You have to download the patch for bug 73403, apply to your source tree,
and build by yourself.  Or, wait until the patch gets checked into CVS.
add dependency
Depends on: 73403
Mark as fixed.  See bug 73403 for detail.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Yes!! All those ugly characters that were making my Mozilla Mail looking like a
home-made application have been vanished. Congratulations. Marking as verified,
Win2K, 2002022003 (it remains to see if it works on Win98 at home but I am too
glad to wait :-)).
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

Creator:
Created:
Updated:
Size: