且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

PHP函数将unicode转换为特殊字符?

更新时间:2023-02-19 20:44:19

尝试'HTML-ENTITIES',并且(如有必要)将"from"编码设置为'UTF-8'或您使用的任何Unicode编码.

Try mb_convert_encoding() with the "to" encoding as 'HTML-ENTITIES', and (if necessary) the "from" encoding set to 'UTF-8' or whichever Unicode encoding you're using.