Browse thread
[Caml-list] postscript, printf module and coma separator.
-
Sven LUTHER
-
Nicolas GEORGE
- Sven LUTHER
-
Nicolas GEORGE
[
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: | [Caml-list] Re: postscript, printf module and coma separator. |
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