MSVC uses C version of locale.

setlocale() should also work on Linux.