added client_encoding options