Ah, thank you. That didn't exactly solve it, but it certainly pointed me in 
the right direction. ++

I added that to my settings, and it still failed. I took a look at 
VARIABLES and discovered the 'character_set_server' in my servers was latin1

SHOW VARIABLES LIKE 'character_set%';

+--------------------------+----------------------------------+
| Variable_name            | Value                            |
+--------------------------+----------------------------------+
| character_set_client     | utf8                             |
| character_set_connection | utf8                             |
| character_set_database   | latin1                           |
| character_set_filesystem | binary                           |
| character_set_results    | utf8                             |
| character_set_server     | latin1                           |
| character_set_system     | utf8                             |
| character_sets_dir       | /usr/local/mysql/share/charsets/ |
+--------------------------+----------------------------------+  

I fixed (temporarily) by just doing

set global character_set_server=utf8;

on the server. not preserved on restarts, unfortunately, but this 
command-line (or my.cnf corollaries) does get it setup properly

mysqld \
    --datadir "$DIR/data" \
    --lc-messages-dir "$DIR/msg" \
    --skip-innodb-file-per-table \
    --collation-server=utf8_general_ci \
    --init-connect='SET NAMES utf8' \
    --character-set-server=utf8&


On Wednesday, January 25, 2017 at 6:07:04 AM UTC-7, Tim Graham wrote:
>
> Try adding this to both entries in your DATABASES test settings:
>
> 'TEST': {
>     'CHARSET': 'utf8',
>     'COLLATION': 'utf8_general_ci',
> },
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/90241fec-5948-4005-832a-7b62012b79d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to