Closed Bug 73103 Opened 25 years ago Closed 24 years ago

Japanese line breaking and word wrapping rules are violated by some characters during mail composition.

Categories

(MailNews Core :: Internationalization, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME
Future

People

(Reporter: wesleyg, Assigned: shanjian)

Details

(Keywords: intl)

<summary> Japanese line breaking and word wrapping rules are violated by some characters during mail composition. <repro environment> build 03-21-04 + Win2000-JA Not repro on: build 03-21-04 + Mac OS 9.04-JA <scenario> The following Unicode points violate line breaking and word wrapping rules: 0024, 0025, 002E, 00A2, 00A3, 00A5, 00B0, 2014, 2019, 2024, 2025, 2026, 2116, 2030, 2031, 2032, 2033 <expected> Line breaking and word wrapping rules to comply with the standard in the JIS X 4051 document.
Is that working on other places, HTML composer, browser?
Andreas, could you please ask the browser team to investigate and comment on results for browser and composer with character coding ISO-2022-JP. I see some browser line breaking test cases for Shift-JIS and EUC-JP on http://babel, but not ISO-2022-JP. Thanks.
Reassign to shanjian.
Assignee: nhotta → shanjian
Adding ylong@netscape.com. Yuying, do you have some information about these test cases?
Please provide test case or detail description about what is broken.
I guess it's maybe not only a Mail?Windows issue, you can see how those problem marks work in Browser here: http://babel/tests/Browser/kinsoku/linebreak2022jp.html I added some lines at the end of document by using Composer(I added them on Mac), those lines were not wrapped/line break well beside "?".
Except for Japanese, there is no formal standard for line/word break for other languages as I know of. Considering the fact that we are handling multi-lingual text, we did not follow 4051 strictly. If a CJK character is found before space when looking for a line break, 4051 will be followed. Otherwise, space character is the only place where line break is permitted. This is for the purpose to make ":-)" work. Some zenkaku punctuation symbols are not recognizable after they have been converted to unicode, and we have this problem. If character before the punctuation is CJK character, you will see the correct behavior. The current work/line break behavior can be improved, and it will never be perfect. Mark mile stone to be future. If a typical situation is found in which current behavior is annoying, please provide more information and I will rethink this bug and make some improvement if possible.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Keywords: intl
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Checked 06/26 branch build. With Japanese contents, the mail follows the wrapping rules. The ascii strings in Japanese (iso-2022-jp) mail doesn't follow the rule. It's the expected behaviour. Resolved it as WFM.
Verified as such.
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.