Check encoding of postgres database11-09-2025SELECT datname, pg_encoding_to_char(encoding) FROM pg_database WHERE datname = 'postgres';