Link to home
Start Free TrialLog in
Avatar of MOSTAGHASSI
MOSTAGHASSIFlag for United States of America

asked on

Character set has been locked to Latin1 Latin1_swedish_ci ?

Hello all,

I have created several db with character set of utf8 for multilanguage
support,but from yesterday that i creat a new db ,i set character set
in Mysql Administrator to utf8 and utf8_general_ci but when i want
type persian i receive error 1366 ,when i see table options in Mysql

Administrator it is ok and is on utf8, but i try change the "NOT NULL"
and that in the box of Execute there is this message:

ALTER TABLE `testi`.`tbtest` MODIFY COLUMN `title` VARCHAR(45) CHARACTER SET

latin1 COLLATE latin1_swedish_ci;

so it seems that character set is locked to above (SWedish),is there any
solution?
Thanks
ASKER CERTIFIED SOLUTION
Avatar of michofreiha
michofreiha
Flag of Lebanon 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
Avatar of MOSTAGHASSI

ASKER

Thanks for your comment.
I read the articles and for creating new db i used comand line as:
CREATE DATABASE db_name CHARACTER SET utf8 COLLATE utf8_general_ci;
and it is good,now can you guide that how can apply this to an existance db?