Am 07.11.2010 um 17:28 schrieb Ingo Weinhold:
On 2010-11-07 at 15:17:28 [+0100], Andreas Färber <andreas.faerber@xxxxxx >wrote:Am 07.11.2010 um 11:08 schrieb pulkomandy@xxxxxxxxxxxxxxxxx:// TODO : we should also handle other kinds of whitespace. // Chinese seems to use a different one. ICU has proper // support for it.Does that resolve the TODO? It sounds if any remaining whitespace character recognition issue should be fixed in BUnicodeChar::IsWhitespace() instead now? Or is it an MBCS issue with currentChar?AFAIK Chinese sentences normally don't use any space characters. Since each symbol usually denotes a word, I guess wrapping is fine virtually anywhere. No idea if there are special rules for punctuation characters or propernames made up of multiple symbols.
In Japanese there are full-width and half-width spaces in addition to the ASCII space. I would assume the full-width character to be used for Chinese as well, if any. Judging by www.google.com.hk (Traditional Chinese, I guess) it seems you're right, the only horizontal spacing is from the punctuation characters.
Andreas