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.
データベースのエンコーディングをutf8_general_ci
utf8_general_ci
また、文字列を含む列に encoding があることを確認してくださいutf8_general_ci。
エクスポートする場合は、これを先頭に追加し$bufferます。
$buffer
$buffer = chr(239) . chr(187) . chr(191) . $buffer;
エンコーディングは BOM 付きの UTF で、これを追加すると BOM が追加されます。