From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA14723; Mon, 11 Jun 2001 17:33:39 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA14285 for ; Mon, 11 Jun 2001 17:33:39 +0200 (MET DST) Received: from dpt-info.u-strasbg.fr (dpt-info.u-strasbg.fr [130.79.6.1]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f5BFXcv19024 for ; Mon, 11 Jun 2001 17:33:38 +0200 (MET DST) Received: from lambda.u-strasbg.fr (mail@lambda.u-strasbg.fr [130.79.90.63]) by dpt-info.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id RAA22084; Mon, 11 Jun 2001 17:32:58 +0200 Received: from luther by lambda.u-strasbg.fr with local (Exim 3.22 #1 (Debian)) id 159TkM-0005iI-00; Mon, 11 Jun 2001 17:36:54 +0200 Date: Mon, 11 Jun 2001 17:36:53 +0200 To: Dave Berry Cc: Sven LUTHER , caml-list@inria.fr, nicolas.george@ens.fr Subject: Re: [Caml-list] postscript, printf module and coma separator. Message-ID: <20010611173653.A21439@lambda.u-strasbg.fr> References: <8E31D6933A2FE64F8AE3CC1381EEDCE704C444@NT.kal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8E31D6933A2FE64F8AE3CC1381EEDCE704C444@NT.kal.com> User-Agent: Mutt/1.3.18i From: Sven LUTHER Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, Jun 08, 2001 at 06:02:41PM +0100, Dave Berry wrote: > >From the book I have in front of me (which may not be accurate), it > should be possible to set the formatting of numeric types independently > of the other locale settings: > > setenv LANG > setenv LC_NUMERIC > > It also says that ISO C specifies a "C" Locale, which behaves the same > as uninternationalised C functions. So it *should* be possible to use: > > setenv LANG fr_FR > setenv LC_NUMERIC C > > I have no idea whether this works in practice. mmm, yes, that's a good idea, but still, you have to do it from the shell. What i wanted is to do it from the ocaml program i am running though, so that it will work whatever the environement, but then maybe a specialized printf function could be done, don't know. Friendly, Sven Luther ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr