Re: conversion of unicode characters into utf-8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---- valsaraj <valsarajpv@xxxxxxxxx> wrote: 
> 
> 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???
> > 

Load your php.ini from both versions
Look at the configuration string side-by-side
Reconfigure your 5.2.2 with the 5.2.0 settings.
Reload apache

You could also STFW: 
http://www.google.com/search?hl=en&client=firefox-a&rls=com.ubuntu%3Aen-US%3Aunofficial&hs=Z0x&q=php%3A+convert+of+unicode+characters+into+utf-8+&btnG=Search

And depending on your OS, you could look for a php-mbstring package that you just need to install and then reload apache.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux