Closed Bug 11574 Opened 25 years ago Closed 25 years ago

Windows-874 mail msgs are not displayed correctly

Categories

(MailNews Core :: Internationalization, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: momoi, Assigned: nhottanscp)

References

()

Details

** Observed with 8/10/99 Win32 build ** We put in Thai support (TIS-620 & Win-874)some time ago, but we have never been able to display msgs sent from Outlook Express 5 which uses Win-874 as the mail charset for Thai. (Fonts are Bitstream and DynaLab, both of which contain Thai glyphs.) As I recall, TIS-620 and Win-874 are treated the same (??) in our code base -- maybe that is the problem? See this page for reference: http://www.inet.co.th/cyberclub/trin/thairef/ I'll try to attach a sample Thai mail in a ZIP file.
I created a Thai mail sample and placed it at the above URL. There is one msg in it which was sent from OE 5.
Can you try browsing a Win-874 web page?
Are you sure your test case are right, if you do a global replacement of windows-874 to TIS-620, will that display Thai ?
Status: NEW → ASSIGNED
Target Milestone: M12
Bob and I tried several things. But one telling example is this one: I changed the charset parameter from windows-874 to tis-620 and the message displauyed in Thai. (Try it with the above mail file.) We discovered some problems that have to do with dealing with 8-bit characters which end a line -- an extraneous "O"-like character get inserted. But that would be another bug. Also the browser pages in TIS-620 and Windows-874 show up OK. Here are some examples of TIS-620 and Windows-874 pages -- actually I took TIS-620 pages and changed the Meta tag to Windows-874. Visit this page and see the 4 Thai pages. http://babel/projects/training/commlangs.html
I updated the thaimail.zip file so that it includes 2 msgs: Thai -- contains the charset parameter modified to tis-620 Thai2 -- contains the original charset parameter, windows-874 The differece is that Thai folder shows the message correctly exacept the final extraneous character. But the original message does not.
Is that true that the browser show the windows-874 message correctly but not the mail ? Can you send me a jpeg to show the problem. Thanks Add Naoki to the cc list since it seems a Mail only problem....
Blocks: 11091
(target milestone is M11 or M12 - add to mail beta tracking bug)
Whiteboard: Help Wanted
Target Milestone: M12 → M17
Move Thai stuff to M17
This is depended on by the mailnews beta blocker tracking bug.
Assignee: ftang → nhotta
Status: ASSIGNED → NEW
Target Milestone: M17 → M12
reassign this to naoki for M12. The reason I move this from M17 to M12 is because the reason cause this is we didn't call nsICharsetAlias to resolve external MIME charset name to internal charset name, which is case sensitive. This will cause problem other than Thai.
Status: NEW → ASSIGNED
MIME header decoding does not have alias resolution, I will fix it for M12.
Depends on: 18264
Blocks: 18471
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
The alias resoution change was checked in for M12. So this must be fixed now if the problem was caused by the charset alias problem.
It is working with 11/11/99 Win32 M12 build. It is also working with 11/10/99 Win32 M11 candiadte build. (This also seems to have fixed Arabic display problem.) Could it be that this check in made it to M11?
I didn't check in the change to M11, so the problem had been caused by some other reason and fixed somehow.
Status: RESOLVED → VERIFIED
** Checked wtih 12/14/99 Win32 build (1999121408) ** Now I can display correctly Windows-784 msgs sent from Outlook Express 5. Marking the fix verified.
Whiteboard: Help Wanted
No longer blocks: 18471
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.