Link to home
Start Free TrialLog in
Avatar of young_buddha
young_buddhaFlag for India

asked on

mysql migration, character set issues

hi,

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)
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of young_buddha

ASKER

i dint test rays solution..found something else that worked for me.

thanks
sid
i dint test rays solution..found something else that worked for me.

thanks
sid