Now frontend/libpq has its own version of pg_encoding_to_char and pg_char_to_encoding.
Attach a file by drag & drop or click to upload