Pls notice that most Chinese Characters can be wrapped
without spaces between them.
Exceptions are puncuation marks listed below (copied
from Word)
These are not to be placed at the end of line:
!),.:;?]}˘ˇ‥
‧′╴、。〉》」』】〕〞
︰︱︳︴︶︸︺︼︾﹀﹂﹄﹏﹐﹑﹒﹔﹕﹖﹗﹚﹜﹞!),.:;?|}、
And these are not to be placed at the beginning of line:
([{ŁĽ‵〈《「『【〔〝︵︷︹︻︽︿﹁﹃﹙﹛﹝({
All other Chinese characters can be wrapped freely
Logged In: YES
user_id=558432
While I think something like this is possible, I believe it
would overly complicate the algorithm used to do the
automatic line breaking.
If there were an implementation of this, it can't be global
since !:; and some of the other characters listed are fine
at the end of a line in other languages.
My best guess is that it would have to be per-charset and
each character encoding provided some sort of line breaking
rules file.
A relevant article on this issue is
http://www.microsoft.com/globaldev/getwr/steps/wrg_linebrk.mspx
For Java, it looks like using BreakIterator is the way to do it:
http://www.javacommerce.com/articles/internationalization.htm
http://java.sun.com/j2se/1.5.0/docs/api/java/text/BreakIterator.html
A patch using BreakIterator has been submitted.
https://sourceforge.net/support/tracker.php?aid=2483695
Fixed in r21116 (patch #2483695).