From fc2a7618d354cd96d65bd466bf20a05e9e041c94 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Mon, 13 Jun 2005 13:23:38 +0000 Subject: Added FAQ about odd locales. git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1292 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- html/faq.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'html') diff --git a/html/faq.html b/html/faq.html index 27ce1db9..86cb3db4 100644 --- a/html/faq.html +++ b/html/faq.html @@ -151,6 +151,25 @@ Their use is more fully described in the towgs84 discussions.

+ + +

Does PROJ.4 work in different international numeric locales?

+ +No. PROJ.4 makes extensive use of sprintf() and atof() internally to translate +numeric values. If a locale is in effect that modifies formatting of +numbers, altering the role of commas and periods in numbers, then PROJ.4 +will not work. This problem is common in some European locales.

+ +On unix-like platforms, this problem can be avoided by forcing the use +of the default numeric locale by setting the LC_NUMERIC environment variable +to C.

+ +eg. +

+$ export LC_NUMERIC=C
+$ proj ...
+
+
-- cgit v1.2.3