oracle ogr2ogr import to DB wrong encoding Brazilian shapefile

86 Views Asked by At

I'm facing a problem while importing a shapefile with ogr2ogr with portuguese-brazilian charset. The shapefile has been downloaded from OpenStreetMap and is correctly read on QGis. When I tried to import it through ogr2ogr I got several street names showing wrong enconding. For example, instead of "Ângelo Ferrârio Lopes" i get "ÿngelo Ferrário Lopes".

Oracle Database charset is WE8ISO8859P15. Inputs from software interface are correctly saved in the DB.

I tried to setting PGCLIENTENCODING=LATIN1 with same result.

Does anyone have any idea? Thanks

0

There are 0 best solutions below