npgsql 22021: invalid byte sequence for encoding "UTF8": 0x00 code example
Example 1: ERROR: character with byte sequence 0xd0 0x9f in encoding "UTF8" has no equivalent in encoding "LATIN1"
SET client_encoding = 'UTF8';
Example 2: Erro ao inserir invalid byte sequence for encoding “UTF8”: 0x00 delphi postgresql
FDQueryPGField.asByte := FDQueryFBField.asByte;