Closed Bug 173294 Opened 23 years ago Closed 17 years ago

[TRUNK] Chinese mail body is displayed garbled when mail is sent in HZ

Categories

(MailNews Core :: Internationalization, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 367026

People

(Reporter: ji, Assigned: nhottanscp)

Details

(Keywords: intl, regression)

Build: 10/08 trunk build When a Chinese mail is sent in Simplified Chinese (HZ) encoding, the mail body is displayed as garbled. This is a regression from Netscape 7.0 Steps to reproduce: 1. Compose a Simplified Chinese mail with mail body containing Chinese characters. 2. Send it out to yourself in Simplified Chinese (HZ) encoding. 3. After the mail is received, observe the mail body part, it's garbled.
Keywords: intl, nsbeta1, regression
i18n triage team: nsbeta1-
Keywords: nsbeta1nsbeta1-
Product: MailNews → Core
Product: Core → MailNews Core
Gary can you have a look at that one ?
We don't support Simplified Chinese (HZ) encoding iirc after all these years -- only GB2312 (most common), GB18030 and Big5 for Traditional Chinese are available in the Compose window under Options -> Character Encoding. -> Invalid, not a bug anymore.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Actually we do support HZ encoding. It's not in the Character Encoding menu, but it can be added with the Customize option. The good news is sending mail in HZ encoding is now almost[1] WORKSFORME (tested in TB 3.0b2). This is almost certainly a dupe of bug 367026. [1] "almost" because it doesn't correctly handle characters not representable in HZ -- see http://mxr.mozilla.org/mozilla-central/source/intl/uconv/ucvcn/nsUnicodeToHZ.cpp?mark=93-95#77
Resolution: INVALID → DUPLICATE
You need to log in before you can comment on or make changes to this bug.