[squeak-dev] Pending 4.1 Mantis Bugs

Ian Piumarta piumarta at gmail.com
Sat Apr 10 20:05:28 UTC 2010

On Apr 10, 2010, at 9:24 AM, Bert Freudenberg wrote:

> In the Etoys start script we have
> [ -z "$LC_ALL" ] && export LC_ALL="$LANG"
> so possibly that's why it has been working ...

It's stranger than that.  If LANG is not set then EOL works right even  
when LC_* are unset.  The situation that causes problems is LANG set  
and LC_* not set.  setenv()ing LC_* based on the result of  
setlocal("") (which usually returns LANG when LC_* are not set) does  
not fix the broken behaviour.  Something in iconv is set early in  
process startup, ignores calls to setlocale(), and refuses to be fixed  
later during execution.  The script solution seems the simplest and  
neatest way to address this.


More information about the Squeak-dev mailing list