Opened 17 years ago
Closed 17 years ago
#185 closed defect (fixed)
SHP provider: Locale dependent decimal separator
Reported by: | danstoica | Owned by: | danstoica |
---|---|---|---|
Priority: | major | Milestone: | 3.3.0 |
Component: | SHP Provider | Version: | 3.2.0 |
Severity: | 3 | Keywords: | |
Cc: | External ID: |
Description ¶
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.
Note:
See TracTickets
for help on using tickets.