Open GoogleCodeExporter opened 9 years ago
I know this is not what you asked but I would be interested to know the
scenarios of
the comma-dot problems you mentioned. My recent change for the fonts was due
to the
fact that the locale settings of the computer were configured one way but the
CXF
font file was formatted the other way. The change I made, if it works, was safe
enough to leave in all versions of Heeks without needing to add a 'switch
language'
option. The difficulty is knowing when to apply it. If the file we are
reading is
formatted as per the local comma-dot settings then this workaround is not
required
(although it is still safe).
Maybe we should have our own version of 'strtod()' that makes this comma-dot
check
first and works for all locale settings. The down-side is that it would slow
down
the conversion but it would be safe for all settings. (Of course I'm assuming
the
fix worked. I haven't heard back to know if the font change worked yet).
Original comment by David.Ni...@gmail.com
on 24 Apr 2010 at 10:05
Original issue reported on code.google.com by
lot...@foengarage.de
on 24 Apr 2010 at 5:23