From: Sven LUTHER <luther@dpt-info.u-strasbg.fr>
To: Dave Berry <Dave@kal.com>
Cc: Sven LUTHER <luther@dpt-info.u-strasbg.fr>,
caml-list@inria.fr, nicolas.george@ens.fr
Subject: Re: [Caml-list] postscript, printf module and coma separator.
Date: Mon, 11 Jun 2001 17:36:53 +0200 [thread overview]
Message-ID: <20010611173653.A21439@lambda.u-strasbg.fr> (raw)
In-Reply-To: <8E31D6933A2FE64F8AE3CC1381EEDCE704C444@NT.kal.com>
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 <Locale1>
> setenv LC_NUMERIC <Locale2>
>
> 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
next prev parent reply other threads:[~2001-06-11 15:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-08 17:02 Dave Berry
2001-06-11 15:36 ` Sven LUTHER [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-06-08 16:33 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=20010611173653.A21439@lambda.u-strasbg.fr \
--to=luther@dpt-info.u-strasbg.fr \
--cc=Dave@kal.com \
--cc=caml-list@inria.fr \
--cc=nicolas.george@ens.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