[fdo-trac] #525: SHP Provider can't write a new SHP file with attribute name contains Chinese characters when machine's locale is English.

FDO trac_fdo at osgeo.org
Tue May 12 22:36:15 EDT 2009


#525: SHP Provider can't write a new SHP file with attribute name contains
Chinese characters when machine's locale is English.
----------------------------+-----------------------------------------------
   Reporter:  jimmychen     |       Owner:  gregboone
       Type:  defect        |      Status:  new      
   Priority:  major         |   Milestone:  3.5.0    
  Component:  SHP Provider  |     Version:  3.4.0    
   Severity:  3             |    Keywords:           
External_id:                |  
----------------------------+-----------------------------------------------
 When the machine system's locale is EN, the SHP Provider can't create a
 new SHP file with attribute name contains multi-bytes characters like
 Chinese or Asian characters.
 It seems that provider just do 'Ansi2Wide' with codepage in system's
 locale which is not always correct. Sometimes we have to use UTF-8 to make
 the conversion correct.
 I think it  is a defect of Globalization.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/525>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list