Check for locale.h and the function, setlocale.