[fdo-trac] #185: SHP provider: Locale dependent decimal separator
FDO
trac_fdo at osgeo.org
Wed Nov 28 14:17:46 EST 2007
#185: SHP provider: Locale dependent decimal separator
----------------------------+-----------------------------------------------
Reporter: danstoica | Owner: danstoica
Type: defect | Status: new
Priority: major | Milestone: 3.3.0
Component: SHP Provider | Version: 3.2.0
Severity: 3 | Keywords:
External_id: |
----------------------------+-----------------------------------------------
Currently SHP is using sprintf() and atof() in order to write/read
decimals into/from a DBF file. The problem is these functions are locale
dependent and the decimal returned from sprintf() may contain ',' instead
of '.' and atof() will fail to convert a string containing '.' instead of
','.
Note that according to DBF specification the '.' separator is the only
valid separator.
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/185>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list