Fix to force UTF8 for the database.

Oh to live in the wonderland that the documentation says exists...
Added SQL patch file for db.