Home  >  Article  >  php教程  >  php Fatal error: Call to undefined function mb_convert_encoding()

php Fatal error: Call to undefined function mb_convert_encoding()

WBOY
WBOYOriginal
2016-05-26 08:20:361755browse

如果你php使用字符编码转换函数 mb_convert_encoding碰到 Call to undefined function mb_convert_encoding()问题,可参考本文章来解决.

在运行程序时发生“Fatal error: Call to undefined function

mb_convert_encoding()”致命错误,这个问题很好解决,在php.ini中打开extension=php_mbstring扩展即可.

最后重启apache即可

测试,如:$content = iconv("UTF-8", "gb2312//IGNORE″, $content);

本文地址:

转载随意,但请附上文章地址:-)

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn