Set encoding for each mysql connection.
A new setting called encoding has been introduced.