<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=562502119-24042007>Hi
all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=562502119-24042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=562502119-24042007>I came across this
post. I am having the same problem with a MapInfo tab file with french accented
characters. Other than the workaround provided by Etienne, is there a way to
solve this problem where more than just LATIN1 (or whatever) must be supported?
i.e. without setting a system environment variable.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=562502119-24042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=562502119-24042007>Richard</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><PRE>On 12/11/05, Etienne Dube <<A href="http://lists.maptools.org/mailman/listinfo/gdal-dev">etdube at globetrotter.net</A>> wrote:
><I> This is correct. I've managed to insert latin1 characters in a
</I>><I> UTF8-encoded DB with ogr2ogr, by setting the PGCLIENTENCODING
</I>><I> environment variable to LATIN1 (prior to running ogr). In Windows, that
</I>><I> would be:
</I>><I>
</I>><I> SET PGCLIENTENCODING=LATIN1
</I>
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, <A href="http://lists.maptools.org/mailman/listinfo/gdal-dev">warmerdam at pobox.com</A>
light and sound - activate the windows | <A href="http://pobox.com/~warmerdam">http://pobox.com/~warmerdam</A>
and watch the world go round - Rush | Geospatial Programmer for Rent</PRE></DIV></BODY></HTML>