call setlocale() in main()