I am seeing this on JA system when displaying a message, same message displayed on WinNT JA doesn't have this problem: chars have no accents but they are not truncated Steps to reproduce: - log into to the account; - select a message with accented chars , say "umlaut"jet"; - now notew: the window title displays only "s" the part that starts with accented chars is truncated. If the message header starts with accented chars it won't be displayed at all. Again on WinNT JA the caption doesn't show any accents though it doesn't truncate the string
marna: Is this Mail/News specific? cc'ing nhotta, ftang.
Mac issue, assigning to ftang.
Assignee: yokoyama → ftang
It is specific Mac issue but not limited to Mail/News. You can see the same happening in the browser window when going to any page from netscape.fr that has accented chars in the link. The window title would display truncated
qa to myself
QA Contact: ji → marina
Target Milestone: --- → mozilla0.9.5
give to nhotta, I believe now this is MacOS 9 only, right ? I think the problem is in widget/src/mac/nsMacControl.cpp 406 void nsMacControl::StringToStr255(const nsString& aText, Str255& aStr255) Call mUnicodeEncoder->->SetOutputErrorBehavior(nsIUnicodeEncoder::kOnError_Replace, nsnull, (PRUnichar)'?'); probably will fix this problem.
Target Milestone: mozilla0.9.5 → mozilla0.9.6
give to nhotta
Assignee: ftang → nhotta
Status: ASSIGNED → NEW
Created attachment 52833 [details] [diff] [review] Patch, added nsIUnicodeEncoder::SetOutputErrorBehavior to avoid the truncation.
Comment on attachment 52833 [details] [diff] [review] Patch, added nsIUnicodeEncoder::SetOutputErrorBehavior to avoid the truncation. r=ftang
Attachment #52833 - Flags: review+
Hardware: PC → Macintosh
Checked in to the trunk.
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
verified with 2001-11-01 trunk build, the window title is not truncated anymore neither in mail nor in browser
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.