Home  >  Article  >  Backend Development  >  Use of linux iconv method_PHP tutorial

Use of linux iconv method_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:24:00909browse

Referring to the information in phpinfo, the iconv module has been loaded correctly.

Google it. It turns out that there are still some problems with the iconv method under the Linux version.

The solution given by a netizen on csdn is:

view sourceprint? One method is to replace iconv with mb_convert_encoding

The other method is to modify iconv Implementation, changing from glibc to libiconv

took a long time, irritating!

If a friend encounters it, it can be solved like this.

Follow the first method provided by the netizen, change the iconv method to use mb_convert_encoding, and it's done. .

Thank you to this netizen for the solution.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/324393.htmlTechArticleRefer to the phpinfo information, the iconv module has been loaded correctly. Google it. It turns out that there are still some problems with the iconv method under the Linux version. A website on csdn...
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