Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$buffer如果您要导出 ,请将其添加到开头:
$buffer
$buffer = chr(239) . chr(187) . chr(191) . $buffer;
编码是带有 BOM 的 UTF,添加它会添加 BOM。
将您的数据库编码设置为utf8_general_ci
utf8_general_ci
还要检查您的带有字符串的列是否具有 encoding utf8_general_ci。