Home > Article > Backend Development > Use of linux iconv method_PHP tutorial
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.