Piotr Caban : msvcrt: Add helper function that returns current locale.