Migration oracle to postgres accents

71 views Asked by At

the original data in Oracle has accents, when I migrated the data to postgres changed the accents for special characters, How I can make the migration still the same data?

I used for the migration ora2pg.

migration the data with accents

1

There are 1 answers

4
Laurenz Albe On

If you set the Oracle client encoding (using the NLS_LANG environment variable) to US7ASCII, Oracle will silently mutilate your data by replacing characters with their unaccented versions. You don't tell us how you invoked ora2pg, but with its default setting of AMERICAN_AMERICA.AL32UTF8 for NLS_LANG, that would not have happened.