On Fri, Mar 14, 2008 at 12:21:38AM +0000, Ross Paterson wrote:
> On Fri, Mar 14, 2008 at 12:05:18AM +0000, Ian Lynagh wrote:
> > On Thu, Mar 13, 2008 at 10:52:24PM +0000, Ross Paterson wrote:
> > > On Thu, Mar 13, 2008 at 03:31:37PM -0700, Simon Marlow wrote:
> > > > Setting the locale *might* have side-effects, for instance we noticed  
> > > > before that heap profiling broke in some locales because the RTS code 
> > > > to  
> > > > generate the .hp file was using fprintf to print numbers, and the 
> > > > number  
> > > > format depends on the locale.
> > > 
> > > You could avoid this by setting LC_CTYPE instead of LC_ALL.
> > 
> > It's probably best if we work correctly even if the user needs to set
> > LC_CTYPE themselves for some reason, though.
> 
> I think you mean LC_NUMERIC.
> 
> Setting LC_CTYPE won't affect printing numbers or collation, but it will
> enable character encoding, which is what the original poster was after.

Oh, right, I misunderstood you, but I see what you mean now.
But it would be best if the RTS worked no matter what the user set (as
far as is possible, anyway).


Thanks
Ian

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to