Re: Multi-byte strings and Japanese characters

From: Date: Fri, 27 Sep 2002 22:06:04 +0000
Subject: Re: Multi-byte strings and Japanese characters
References: 1 2  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-334@lists.php.net to get a copy of this message
Yasuo Ohgaki wrote:
For instance, UTF-8 can be 6 bytes at most, and inserting newline, etc to middle of multibyte sequence breaks multi-byte chars obviously.
What about functions like wordwrap()? Would a line like wordwrap($_POST["body"], 76, "\r\n"); break a Japanese string? Thanks for your help.

« previous php.i18n (#334) next »