block setlocale to avoid breaking sscanf and friends