[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Sven LUTHER <luther@d...> |
| Subject: | Re: [Caml-list] postscript, printf module and coma separator. |
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