Is there a way to tell django with a setting to include the character-set on the create of tables?
Vitaly Babiy On Thu, Jun 18, 2009 at 2:18 PM, Karen Tracey <kmtra...@gmail.com> wrote: > On Thu, Jun 18, 2009 at 2:06 PM, Vitaly Babiy <vbabi...@gmail.com> wrote: > >> I am using MySQL. >> >> Sorry I should have mentioned it in the body not only in the subject. >> > > Yeah, sorry I tend to be blind to subjects. You can configure your server > to use utf8 by default by including: > > default-character-set=utf8 > > somewhere in the [mysqld] section of the config file. The config file is > my.ini in the MySQL install directory on Windows, or something like > /etc/mysql/my.cnf probably on Linux. > > If you want to change tables that have already been created, the command > is: > > alter table <table-name> convert to character set utf8; > > from within a mysql shell. > > 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 -~----------~----~----~----~------~----~------~--~---