Returns the client encoding.
It returns the encoding string such as UTF8. This function wraps both PQclientEncoding and pg_encoding_to_char.
UTF8
PQclientEncoding
pg_encoding_to_char
cf. PostgreSQL Documentation