Check out example codes for "Erro ao inserir invalid byte sequence for encoding “UTF8”: 0x00 delphi postgresql". It will help you in understanding the concepts better.

Code Example 1

FDQueryPGField.asByte := FDQueryFBField.asByte;

Learn ReactJs, React Native from akashmittal.com