title: Django dumpdata fails on special characters
body: <p>I'm trying to dump my entire DB to a json. When I run <code>python manage.py dumpdata &gt; data.json</code> I get an error:</p>
  <pre><code>(env) PS C:\dev\watch_something&gt; python manage.py dumpdata &gt; data.json
  CommandError: Unable to serialize database: 'charmap' codec can't encode character '\u0130' in position 1: character maps to &lt;undefined&gt;
  Exception ignored in: &lt;generator object cursor_iter at 0x0460C140&gt;
  Traceback (most recent call last):
    File &quot;C:\dev\watch_something\env\lib\site-packages\django\db\models\sql\compiler.py&quot;, line 1602, in cursor_iter
      cursor.close()
  sqlite3.ProgrammingError: Cannot operate on a closed database.
  </code></pre>
  <p>It's because one of the characters in my DB is a sepcial character. How can I dump the DB correctly?</p>
  <p>FYI, all other DB functionalities work fine</p>