caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Nicolas GEORGE <nicolas.george@ens.fr>
To: Sven LUTHER <luther@dpt-info.u-strasbg.fr>
Cc: caml-list@inria.fr
Subject: [Caml-list] Re: postscript, printf module and coma separator.
Date: Mon, 11 Jun 2001 19:30:53 +0200	[thread overview]
Message-ID: <20010611193053.B7177@clipper.ens.fr> (raw)
In-Reply-To: <20010608183321.A14580@lambda.u-strasbg.fr>; from luther@dpt-info.u-strasbg.fr on Fri, Jun 08, 2001 at 06:33:21PM +0200

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).
-------------------
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


  reply	other threads:[~2001-06-11 17:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-08 16:33 [Caml-list] " Sven LUTHER
2001-06-11 17:30 ` Nicolas GEORGE [this message]
2001-06-12 11:03   ` [Caml-list] " Sven LUTHER

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010611193053.B7177@clipper.ens.fr \
    --to=nicolas.george@ens.fr \
    --cc=caml-list@inria.fr \
    --cc=luther@dpt-info.u-strasbg.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).