[postgis-devel] [PostGIS] #509: Invalid Charset Encoding breaks Win32 GUI

PostGIS trac at osgeo.org
Fri May 7 11:49:06 PDT 2010


#509: Invalid Charset Encoding breaks Win32 GUI
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  PostGIS 1.5.2
 Component:  postgis  |     Version:  1.5.X        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by robe):

 I don't think its the vcc build libiconv at fault.

 I think I had replaced my local postgresql bin with the mingw, but I just
 tried with the one that gets packaged with PgAdminIII which is the way I
 normally use it and it works fine with that one.  Besides I would expect
 we would have similar issues with the command line if that were the case.

 Are you sure your source directory isn't dirty with some old files.

 For perspective I pulled out an old copy of a shp2pgsql-gui and it gives
 this error
 with your file.

 {{{
 Failed in pgui_exec(): ERROR:  invalid byte sequence for encoding "UTF8":
 0xb3
 }}}

 I presume that is the error you are getting?  I thought maybe it was the
 encoding of the database that would make a difference -- but works fine
 for me against UTF8 encoded as well as win1252 encoded database.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/509#comment:9>
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