#13919: "Incorrect string value" warning when saving some unicode characters to
MySQL
-------------------------------+--------------------------------------
     Reporter:  denilsonsa     |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  closed
    Component:  Uncategorized  |                  Version:  1.2
     Severity:  Normal         |               Resolution:  invalid
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by anonymous):

 * ui_ux:   => 0
 * type:   => Uncategorized
 * severity:   => Normal
 * easy:   => 0


Comment:

 Simple workaround:
 After making "manage.py syncdb" change CHARACTER SET for 'title' and the
 'content' columns by running the following queries:

 {{{
 ALTER TABLE django_flatpage CHANGE COLUMN `title` `title` VARCHAR(200)
 CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' NOT NULL;
 ALTER TABLE django_flatpage CHANGE COLUMN `content` `content` longtext
 CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' NOT NULL;
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13919#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to