Use setlocale() to get the current locale.
authorGuy Harris <guy@alum.mit.edu>
Wed, 31 Dec 2014 23:32:42 +0000 (15:32 -0800)
committerGuy Harris <guy@alum.mit.edu>
Wed, 31 Dec 2014 23:33:31 +0000 (23:33 +0000)
commit9a7d4559aed27208b4688cb6d0c9c8a810612788
tree606cae060e4342cb5cd9c399d9f56b2b351d762c
parent1bc2565bff009e0b2560c4c8401da447d00d4668
Use setlocale() to get the current locale.

This:

1) should work on Windows;

2) reflects what the C environment is actually set up to use,
   rather than what the environment variables for locale are
   set up to use - C programs default to the C locale and only
   pick up the setting from the environment variables etc. if
   you explicitly request the system locale with a setlocale()
   call.

Change-Id: Iee064237e70501a5450d4daa9ab849391f200efd
Reviewed-on: https://code.wireshark.org/review/6195
Reviewed-by: Guy Harris <guy@alum.mit.edu>
wsutil/ws_version_info.c