https://bugzilla.wikimedia.org/show_bug.cgi?id=33430
--- Comment #7 from Ziyuan Yao <[email protected]> 2011-12-30 21:42:48 UTC --- Although Chinese and Japanese don't use spaces to separate words, you can actually think there is an "invisible space" before and after every Chinese/Japanese character, and this "invisible space" is always a good line-wrapping point just like normal spaces. There is actually a Unicode control character U+200B "zero-width space" (http://en.wikipedia.org/wiki/Zero-width_space) for this "invisible space" concept. With U+200B in mind, we can also simplify our line-wrapping rule set as: add a U+200B after every Chinese/Japanese character; IF there is a whitespace (including U+200B) near the page's right margin THEN break the line at that whitespace; ELSE break forcibly at the page's right margin (and optionally draw a "soft return" character to indicate this forced break). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
