On Wed, May 20, 2009 at 9:37 AM, Oleg Oltar <oltarase...@gmail.com> wrote:
> Hm... You're right...But I don't understand how it happened... I used sync > db to create those table > syncdb doesn't specify a character set, it uses the database default. I don't understand how some of your tables would have one value while others have a different one unless you created them at different times while the server was set to have different defaults. > > mysql> show create table articleManager_categoty\G > *************************** 1. row *************************** > Table: articleManager_categoty > Create Table: CREATE TABLE `articleManager_categoty` ( > `id` int(11) NOT NULL AUTO_INCREMENT, > `categoty` varchar(200) NOT NULL, > `name` varchar(200) NOT NULL, > PRIMARY KEY (`id`) > ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 > 1 row in set (0.00 sec) > > mysql> > > > can you suggest a command to change charset? > That's the doc I pointed to. It's something like 'ALTER TABLE articleManager_categoty CONVERT TO CHARACTER SET UTF8' but I'm not 100% sure without trying it that that is the correct syntax. Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---