Home >Backend Development >PHP Tutorial >Use of microsoft corporation linux iconv method

Use of microsoft corporation linux iconv method

WBOY
WBOYOriginal
2016-07-29 08:46:521030browse

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.
A netizen on csdn gave the solution:
view sourceprint? One method is to replace iconv with mb_convert_encoding
The other method is to modify the implementation of iconv from glibc to libiconv
It took me a long time to do it, and I am annoyed!
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.

The above introduces the use of the microsoft corporation linux iconv method, including the content of microsoft corporation. I hope it will be helpful to friends who are interested in PHP tutorials.

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