[postgis-users] re: shp2sql and UTF8 question on Windows

strk at refractions.net strk at refractions.net
Thu Jan 26 01:39:03 PST 2006


On Thu, Jan 26, 2006 at 09:31:29AM +0100, Markus Schaber wrote:
> Hi, Strk,
> 
> strk at refractions.net wrote:
> 
> >>>Maybe we should add an "send client_encoding" command switch (that is
> >>>mutually exclusive with -W) to shp2pgsql. I'll have a look into this.
> >>
> >>I attached a small patch that adds this -e option, as well as some
> >>documenation sync between the manpage and xml/html for -W.
> >>
> >>It compiles, but is not exactly heavily tested, so take it with some salt.
> >>
> >>This is a new feature, but as it is relatively unintrusive and not in
> >>the PostGIS core, I think we can apply it to 1.1.X without waiting for
> >>the 1.2 branch (after some testing, of course). Strk, what do you think?
> > 
> > What's the problem with iconv again ?
> 
> Nothing particular.
> 
> But we regularly get mails here on the lists from users that don't have
> an iconv-enabled build for one or another reason. And as long as
> building with iconv is optional, this light-weight alternative might
> make sense.

I wouldn't add too many possible configurations.
If you want locale support just install iconv and that'd enable it.
If autoconf is not that smart in finding it we should fix it.

What does postgresql uses for locales, btw ?

--strk;



More information about the postgis-users mailing list