which special characters dint converted? this function converts only few special characters. try to use htmlentities function instead -- Regards, Sanjeev http://www.sanchanworld.com | http://webdirectory.sanchanworld.com - submit your site On 5/17/08, It flance <itmaqurfe@xxxxxxxxx> wrote: > > Hi, > > this statement: > echo nl2br(htmlspecialchars($row['jobdescription'], ENT_QUOTES, 'UTF-8')); > > works for php4.3.10 but not for php5.2.5 > > I am wondering if i am missing something. > > Thank you > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >