Public bug reported: 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: http://unicode.org/cldr/trac/browser/tags/release-2-0-1/posix/en_ZA.UTF-8.src 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. Using locales 2.13+git20110622-2, and qt 4:4.7.4-0ubuntu8 ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: locales 2.13+git20110622-2 ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6 Uname: Linux 3.0.0-13-generic i686 NonfreeKernelModules: nvidia blackmagic ApportVersion: 1.23-0ubuntu4 Architecture: i386 Date: Tue Nov 8 02:43:03 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: langpack-locales UpgradeStatus: Upgraded to oneiric on 2011-10-18 (20 days ago) ** Affects: langpack-locales (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 oneiric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/887395 Title: en_ZA locale decimal point inconsistency To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/887395/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs