Added code to warn when connection encoding is not UTF8.