方案1: $str = iconv("gb2312","utf-8",$str); 方案2: mb_convert_encoding($str, "utf-8", "gb2312"); 相关文章: 2021-09-28 2022-12-23 2022-12-23 2022-02-05 2022-01-08 2023-03-28 2022-12-23