Setting charset to db connection.