Ora2Pg is a free tool used to migrate an Oracle database to a PostgreSQL compatible schema. It connects your Oracle database, scan it automatically and extracts its structure or data, it then generates SQL scripts that you can load into PostgreSQL.
You should use the same encoding as defined in Oracle. Use action -t SHOW_ENCODING to show Oracle encoding and adjust NLS_* configuration directives in ora2pg.conf
DBD::pg:: db pg_putcopyend failed :ERROR: invalid byte sequence for encoding "UTF8": 0x00vg : 11 recs/sec Context: copy content, line 1 at /usr/local/share/perl5/Ora2pg.pm line 16849 FATAL : ERROR : invalid byte sequence for encoding "UTF8": 0x00