Page 1 of 1

mbstring functions undefined

Posted: Mon Jul 03, 2006 6:06 am
by benphp
Please help.

I'm trying to use the mb_detect_encoding function to determine the character encoding of strings, but I can't use it.
In fact, other mbstring functions (e.g. mb_strlen) give problems too. The error is this:
Fatal error: Call to undefined function mb_detect_encoding() in c:\Inetpub\wwwroot\p4.php on line 56

In php.ini, the extension_dir is set to the appropriate path and the php_mbstring.dll extension is uncommented. Further settings are:
mbstring.language = Neutral
mbstring.internal_encoding = UTF-8
mbstring.http_input = UTF-8
mbstring.http_output = UTF-8
mbstring.encoding_translation = On
mbstring.substitute_character = ?
mbstring.func_overload = 7

I don't understand why these functions are not recognized. Suggestions are more than welcome.

Thanks