Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: LC_NUMERIC locale support



Since it is relevant...

--- Doc/Zsh/params.yo	1999/10/14 15:01:13	1.1.1.16
+++ Doc/Zsh/params.yo	1999/11/20 20:29:26
@@ -572,6 +572,13 @@
 This variable determines the language in which messages should be
 written.  Note that zsh does not use message catalogs.
 )
+vindex(LC_NUMERIC)
+item(tt(LC_NUMERIC) <S>)(
+This variable affects the decimal point character and thousands
+separator character for the formatted input/output functions
+and string conversion functions.  Note that zsh ignores this
+setting when parsing floating point mathematical expressions.
+)
 vindex(LC_TIME)
 item(tt(LC_TIME) <S>)(
 This variable determines the locale category for date and time
--- Src/params.c	1999/11/08 10:26:45	1.1.1.35
+++ Src/params.c	1999/11/20 20:29:26
@@ -159,6 +159,9 @@
 # ifdef LC_MESSAGES
 LCIPDEF("LC_MESSAGES"),
 # endif
+# ifdef LC_NUMERIC
+LCIPDEF("LC_NUMERIC"),
+# endif
 # ifdef LC_TIME
 LCIPDEF("LC_TIME"),
 # endif
@@ -2457,6 +2460,9 @@
 #endif
 #ifdef LC_MESSAGES
     {"LC_MESSAGES", LC_MESSAGES},
+#endif
+#ifdef LC_NUMERIC
+    {"LC_NUMERIC", LC_NUMERIC},
 #endif
 #ifdef LC_TIME
     {"LC_TIME", LC_TIME},



Messages sorted by: Reverse Date, Date, Thread, Author