Page 1 of 1

Call to undefined function unicode_decode()

Posted: Thu Aug 07, 2008 4:08 am
by himphp
hi friends,

I am getting the following error, Call to undefined function unicode_decode() error in php.

-------------------------------
When i write the following code:
-------------------------------

$str2 = "a";
$str = unicode_decode ($str2,"UTF-8");

can anybody tel me why?
Thanks,
himanshu k.

Re: Call to undefined function unicode_decode()

Posted: Fri Aug 08, 2008 12:41 pm
by ghurtado
Could it be because the function is not part of any production release of PHP, and therefore not available in the version of PHP that you are using?

http://us.php.net/unicode_decode