Jonas Koch Bentzen wrote: >> IIRC, wordwrap wraps when there is space, I guess you >> would like to try something like this. >> >> wordwrap($str, 1, "\r\n", TRUE); > > > I'm sorry, I don't understand. Why would I want to break at just 1 > character? But I guess since wordwrap() wraps at space, it can't break a > Japanese string?
I guess you don't know Japanese text does not have spaces between words. The wordwrap() is useless for Japanese text. strlen(), substr(), etc are almost useless as well. Believe me. I'm native Japanese and telling you they are useless for Japanese text. They are useless for Korean, Chinese, etc text also. -- Yasuo Ohgaki -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php