"Kirill K. Smirnov" lich@math.spbu.ru writes:
Why LC_NUMERIC? Maybe, LC_MESSAGES more suits for this role? Or LANG env?
LC_MESSAGES is used for the system locale already. LANG cannot be accessed by setlocale(), the idea is to not depend on the specific way that setlocale() determines the locale from the environment. But of course setting LANG will work if you don't specifically set LC_NUMERIC to something else.