>I used wordwrap($word,40,"\n",1) to prevent it,
>but my system is BIG5 ,two bytes,
>Sometimes this method would  destroy the structure
>of the two-bytes word.

Hi,

Have you looked into the multi-byte string functions in the manual?
Search on php.net for mb_str .
Also, have you tried just forcing the guestbook display (tables?) to a
fixed width with HTML or CSS.
If you're still stuck, you might ask about this on the PHP
Internationalization [PHP-I18N] Mailing List which focuses on multi-byte
issues.

HTH,
Lew



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to