handle setlocale(?, NULL)