ERROR [22P05] ERROR: character with byte sequence 0xd8 0xa7 in encoding "UTF8" has no equivalent in encoding "WIN1252"; Error while executing the query code example
Example: ERROR: character with byte sequence 0xd0 0x9f in encoding "UTF8" has no equivalent in encoding "LATIN1"
SET client_encoding = 'UTF8';