Postgres Check Character Encoding