mysql migration, character set issues
Posted on 2011-02-13
i am in process of migrating a database to another server. The current db has default char set as latin1, and the collation for most tables and fields shows as latin1 as well when the structure of table is viwed.
We intend to be adding a few more languages to our db soon, so i wanted to convert the db to utf-8, which i have done by using alter table commands for tables as well as columns..the database was configured with utf-8 as default set.
any new data that i am saving in other languages seems to be fine however some characters in existing data seem to not not have been converted to utf-8...for example 'Ã¼' appears in tables instead of the actual umlaut (german)...how do i convert old data to utf-8 ? (actually these characters were being stored as above even earlier, but when i retrieved them in php they appeared fine)