At 2:10 PM -0400 5/15/09, Tom Worster wrote:
On 5/15/09 10:12 AM, "Stuart" <stut...@gmail.com> wrote:

 What's your problem with using nl2br?

it's not multibyte safe. if you're using mb strings, e.g. for utf8 pages and
forms, then use preg_replace (with the u modifier) instead of ml2br

Whoa -- and I thought you were just another pretty face.

Good point.

Cheers,

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

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

Reply via email to