DBの文字コード確認

$ mysql -u root -p

mysql> show variables like 'char%';
+--------------------------+------------------------------------+
| Variable_name            | Value                              |
+--------------------------+------------------------------------+
| character_set_client     | utf8                               |
| character_set_connection | utf8                               |
| character_set_database   | utf8                               |
| character_set_filesystem | binary                             |
| character_set_results    | utf8                               |
| character_set_server     | utf8                               |
| character_set_system     | utf8                               |
| character_sets_dir       | /opt/local/share/mysql55/charsets/ |
+--------------------------+------------------------------------+
8 rows in set (0.01 sec)

文字コードがすべてutf-8であればOKです。