Fixed  g_win32_getlocale

Implemented g_win32_getlocale function to return correct locale.
Merge pull request #806 from AxlPr/master

Fixed  g_win32_getlocale