I am trying to insert data from Oracle Database to PostgreSQL. In Oracle Database, It was success with standard statement:
insert into "schema"."table"@dblink values (2, 'test');
But when I added special character like '²' next to 'test', it returned the error:
insert into "schema"."table"@dblink values (2, 'test²'); ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ERROR: invalid byte sequence for encoding "UTF8": 0xbf; Error while executing the query {22021,NativeErr = 7} ORA-02063: preceding 3 lines from dblink
I guess this was related to language "UTF8" compatibility but I have no clue where to fix it. I hope my question is clear - sorry for improper language.