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 NAA30720; Tue, 12 Jun 2001 13:00:43 +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 NAA30697 for ; Tue, 12 Jun 2001 13:00:41 +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 f5CB0eb09837 for ; Tue, 12 Jun 2001 13:00:40 +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 MAA26739; Tue, 12 Jun 2001 12:59:59 +0200 Received: from luther by lambda.u-strasbg.fr with local (Exim 3.22 #1 (Debian)) id 159lxm-0006dl-00; Tue, 12 Jun 2001 13:03:58 +0200 Date: Tue, 12 Jun 2001 13:03:58 +0200 To: Nicolas GEORGE Cc: Sven LUTHER , caml-list@inria.fr, lablgtk@kaba.or.jp Subject: [Caml-list] Re: postscript, printf module and coma separator. Message-ID: <20010612130358.A25491@lambda.u-strasbg.fr> References: <20010608183321.A14580@lambda.u-strasbg.fr> <20010611193053.B7177@clipper.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20010611193053.B7177@clipper.ens.fr> User-Agent: Mutt/1.3.18i From: Sven LUTHER Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, Jun 11, 2001 at 07:30:53PM +0200, Nicolas GEORGE wrote: > Le decadi 20 prairial, an CCIX, Sven LUTHER a écrit : > > I am playing with the postscript.ml module from Nicolas Georges. > > :-) > > > Unfortunately, i have the LANG variable set to fr_FR, and as thus fprintf > > outputs floats as : > > > > 3,14 > > > > but this is not a valid postscript coordinate. > > That seems strange. I have also LANG and LC_CTYPE set to fr_FR, and I do > not have the problem. And that under Linux (GNU libc) and Solaris. There is > the problem with LablGtk, because GMain.Main.init sets the locale (if you > use the toplevel, you can not even enter a new non-integer float, since the > ascii -> number fails on the `.'). So I think the bug is inside LablGtk, > and should be corrected there (maybe an optional parameter to change the > environment variable before gtk_set_locale). Yes this is also the case, just tried it in a toplevel here. Let's move this thread to the lablgtk list if needed. 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