Reputation: 18318
I currently have a database and most of the tables and fields are stored as latin1_swedish_ci.
My questions are:
The reason I want to use utf8 is because I need to store Chinese and/or Russian chars in the database.
Upvotes: 3
Views: 6816
Reputation: 70490
ALTER TABLE tablename CONVERT TO CHARSET utf8;
. If your fields have custom character sets/collations, you'll have to issue a MODIFY COLUMN
statement. You can easily identify those querying the information_schema.columns
table after your conversion.Upvotes: 4