1
When trying to execute a SELECT
, using fields that store data in the JSON structure, I see a problem with the data that may come:
SELECT tbl_pf.nome,
tbl_pf.adicionais::JSONB->'recebeTaxa' AS localTaxa
FROM tbl_pf;
When searching for the field with the treatise of bringing only part of the saved JSON, I see this error:
ERROR: Unsupported Unicode exhaust Sequence
DETAIL: Unicode escape values cannot be used for code point values above 007F when the server encoding is not UTF8.
When fetching the full JSON field, there is no error.
This search is done in the terminal, where there is already the configuration to handle UTF8 data coming from the database. (This type of query I can use in other tables with data in JSON, with already treated content, including numerical data).
I wanted to know if this problem is only in the terminal, that can not identify the bank’s Internet, or the BD also has "fault in the registry", since using a PHP routine for testing, the error was the same?