setlocale("") only windows.

Signed-off-by: Jack <jack.wgm@gmail.com>