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.
最近別のサーバーに移行した MySQL データベースがあります。残念ながら、MySQL はデータを Latin1 でダンプし、複合バイトで表される UTF-8 文字 (例: — ではなく —) を使用します。
テーブル内でこれらの複合バイトを UTF-8 に変換する単純なクエリまたはスクリプトを実行することは可能ですか? 何十万もの行があるため、行ごとに行うことは不可能です。
http://www.mysqlperformanceblog.com/2007/12/18/fixing-column-encoding-mess-in-mysql/を参照してください。