Home > php教程 > php手册 > body text

php Fatal error: Call to undefined function mb_convert_encoding()

WBOY
Release: 2016-05-26 08:20:36
Original
1695 people have browsed it

如果你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);

本文地址:

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!