A
A
alk2016-02-16 10:26:56
MySQL
alk, 2016-02-16 10:26:56

MySQL, Invalid utf8 character string: '800363' how to fix?

When saving data in MySQL, Django throws an error:

Django Version:	1.7.7
Exception Type:	Warning
Exception Value:	
Invalid utf8 character string: '800363'
Exception Location:	/home/virtualenv/examenv/lib/python3.4/site-packages/MySQLdb/cursors.py in _warning_check, line 127
Python Executable:	/home/virtualenv/examenv/bin/python3
Python Version:	3.4.4

Who faced it? Why is this error happening? I created the database in UTF-8
It seems that the error occurs while saving the BLOB

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alk, 2016-02-16
@Alexey_Kutepov

In general, I figured out: this error occurs due to the fact that MySQL is shit. The easiest way to solve it is to score and put DEBUG=False

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question