setlocale

Ross Paterson ross at soi.city.ac.uk
Thu Mar 13 18:52:24 EDT 2008


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.


More information about the Glasgow-haskell-users mailing list