[postgis-devel] [PostGIS] #1303: [PATCH] shp2pgsql does not respect PGCLIENTENCODING

PostGIS trac at osgeo.org
Thu Nov 17 02:50:15 PST 2011


#1303: [PATCH] shp2pgsql does not respect PGCLIENTENCODING
----------------------------+-----------------------------------------------
  Reporter:  etourigny      |       Owner:  mcayland                   
      Type:  defect         |      Status:  closed                     
  Priority:  medium         |   Milestone:  PostGIS 1.5.4              
 Component:  loader/dumper  |     Version:  1.5.X                      
Resolution:  wontfix        |    Keywords:  shp2pgsql, PGCLIENTENCODING
----------------------------+-----------------------------------------------
Changes (by mcayland):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 The reason that we don't do anything with the PGCLIENTENCODING variable is
 because shp2pgsql doesn't use PostgreSQL to perform the encoding
 conversion, but instead uses the iconv library.

 Both PostgreSQL and iconv have different sets of supported conversion
 tables (and even different names in some cases), and so there is no
 guarantee that an encoding specified in PGCLIENTENCODING would necessarily
 either exist or work in the same way when being used with iconv. Hence I
 am closing this as "won't fix".

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1303#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list