call setenv replaced by a Qt call to set the locale to C