Thanks. But in php 5.2.2 it's not compiled with mbstring. But in version 5.2.0 it's compiled with mbstring support, but I don't get information aboout what settings is required by htmlentities() to work properly. Could you help to find out this? valsaraj wrote: > > Hi, > I am using code > $val = htmlentities($val, ENT_QUOTES, "UTF-8"); > > but it's not working in version 5.2.0. Is there any additional > configuration needed for this. it's working well in 5.2.2. Could you > please help me??? > -- View this message in context: http://www.nabble.com/conversion-of-unicode-characters-into-utf-8-tp17878398p17908695.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php