Set charset when connecting the database