>  기사  >  php教程  >  php Fatal error: Call to undefined function mb_convert_encoding()

php Fatal error: Call to undefined function mb_convert_encoding()

WBOY
WBOY원래의
2016-05-26 08:20:361696검색

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

本文地址:

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

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.