Fix diacritical characters in database

This restores the "SET NAMES 'utf8'" query on database connect