[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
Fri Jan 14 12:57:07 EST 2011


#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:  danstoica
     Type:  defect        |        Status:  closed   
 Priority:  major         |     Milestone:  3.5.0    
Component:  SHP Provider  |       Version:  3.4.0    
 Severity:  3             |    Resolution:  wontfix  
 Keywords:                |   External_id:           
--------------------------+-------------------------------------------------
Changes (by danstoica):

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


Comment:

 Before apply schema the locale has to set like:

 setlocale(LC_ALL, "Japanese");

 Then the .cpg file will contain the codepage. Otherwise the system locale
 will be used.

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


More information about the fdo-trac mailing list