[postgis-devel] [PostGIS] #889: shp2pgsql fail load localized character

PostGIS trac at osgeo.org
Sun Mar 27 06:26:02 PDT 2011


#889: shp2pgsql fail load localized character
-------------------------+--------------------------------------------------
  Reporter:  aperi2007   |       Owner:               
      Type:  defect      |      Status:  closed       
  Priority:  high        |   Milestone:  PostGIS 2.0.0
 Component:  management  |     Version:  trunk        
Resolution:  invalid     |    Keywords:               
-------------------------+--------------------------------------------------
Changes (by strk):

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


Comment:

 While UTF8 is a possibly multi-byte encoding, Latin1 (like others) are
 single byte.
 For single-byte encodings there's no way to tell if the encoding is
 correct, as each byte correspond to a character, so at worst you get wrong
 character.
 For multi-byte, there can be _wrong_ sequences.

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