Call to undefined function unicode_decode()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
himphp
Forum Newbie
Posts: 2
Joined: Thu Aug 07, 2008 2:16 am

Call to undefined function unicode_decode()

Post 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.
User avatar
ghurtado
Forum Contributor
Posts: 334
Joined: Wed Jul 23, 2008 12:19 pm

Re: Call to undefined function unicode_decode()

Post 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
Post Reply