In the locales package, the file en_ZA (for South Africa) gives a dot '.' as decimal point. However, the Qt library gives a comma ',' as decimal point. This creates problems when a Qt program is trying to communicate with a non Qt program since the decimal point is not the same, numbers are not correctly recognized.
This page gives a comma as decimal separator. So does Wikipedia (see http://en.wikipedia.org/wiki/Decimal_mark - note that a footnote seems to indicate that this may be a recent official decision).
Having 2 different definitions for the decimal point on the same system can only lead to problems.
Forwarded from https:/ /launchpad. net/bugs/ 887395:
In the locales package, the file en_ZA (for South Africa) gives a dot '.' as decimal point. However, the Qt library gives a comma ',' as decimal point. This creates problems when a Qt program is trying to communicate with a non Qt program since the decimal point is not the same, numbers are not correctly recognized.
After doing some searching, Qt (see http:// developer. qt.nokia. com/wiki/ QtLocales) takes its locale information from cldr.unicode.org: unicode. org/cldr/ trac/browser/ tags/release- 2-0-1/posix/ en_ZA.UTF- 8.src
http://
This page gives a comma as decimal separator. So does Wikipedia (see http:// en.wikipedia. org/wiki/ Decimal_ mark - note that a footnote seems to indicate that this may be a recent official decision).
Having 2 different definitions for the decimal point on the same system can only lead to problems.
-----
http:// www.gcis. gov.za/ resource_ centre/ guidelines/ styleguide/ editorial_ styleguide_ 2011.pdf is an official document which says to use the comma.