Magnus Hagander wrote:
> Which appears to suggest that we should change the locale using
> putenv() etc, and not using setlocale() at all... Because setlocale()
> does not support LC_MESSAGES, probably.

This cannot possibly work.  putenv() doesn't change any locale.  The 
environment variables only serve as a default when you call setlocale() 
without an actual locale value.  But to enable any locale, you always 
need to call setlocale() somehow, somewhere.

Peter Eisentraut

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to