Solving “CommandError: Unable to serialize database: ‘charmap’ codec can’t encode character…”
I’ve been working in Django a lot lately and needed to dump my database using Django’s dumpdata command. However, that produced an error. Here’s how I solved it. However, halfway the dump, my terminal returned an error. Apparently, there was a Byte Order Mark or BOM somewhere in my SQLite…