Using self.encoding parameter when driver does not support utf-8

SQL should be encoded with server's encoding, not utf-8. This way the used encoding can be
specified in database settings.