Closed Bug 4968 Opened 26 years ago Closed 26 years ago

nsUnicodeToUTF8::GetMaxLength returns fewer bytes than necessary

Categories

(MailNews Core :: Internationalization, defect, P1)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: nhottanscp, Assigned: cata)

Details

nsUnicodeToUTF8::GetMaxLength returns the number of unicode chars. But utf-8 byte length could be more than one byte per one unicode char.
Target Milestone: M5
This causes a bug #3994 message headers truncated at the end. Target to M5.
Status: NEW → ASSIGNED
Priority: P3 → P1
P3 -> P0, this is also blocking the verification of message view bug (#3889).
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
** Checked with 4/20/99 Win32 build ** As stated in Bug 3889, the problem of truncation in the mail body or headers no longer occurs. These facts should constitute enough reason to makr this fix verified.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.