Wordwrap with UTF8/htmlentities
| From: | Mathijs | Date: | Mon, 20 Nov 2006 07:50:31 +0000 |
| Subject: | Wordwrap with UTF8/htmlentities | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-244860@lists.php.net to get a copy of this message | ||
Hello there,
I have a continues string of several utf8 chars, i want to use wordwrap to have it shown correctly.
I use mb_convert_encoding($text,'HTML-ENTITIES', 'utf-8') to let it convert to the right entities. If i use wordwrap, it doesn't wrap continues strings unless i set the 'cut' param to true.
But if i do that, it cuts off html-entities.
Is there a way to fix this??
Thx in advance.