[Gdal-dev] Re: UTF-8 problem with ogr2ogr

Frank Warmerdam warmerdam at pobox.com
Sun Dec 11 13:45:58 EST 2005


On 12/11/05, Etienne Dube <etdube at globetrotter.net> wrote:
> This is correct. I've managed to insert latin1 characters in a
> UTF8-encoded DB with ogr2ogr, by setting the PGCLIENTENCODING
> environment variable to LATIN1 (prior to running ogr). In Windows, that
> would be:
>
> SET PGCLIENTENCODING=LATIN1

Etienne / Charlie,

I have added a note on PGCLIENTENCODING in the postgres/postgis
driver details.  BTW, I am also getting "encouragement" from Andrey
to deal with encodings in OGR.  Perhaps something will need to be
done, as loath as I am to deal with it.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list