Fix formatting
Revert "Add locale to suppress Windows warnings"

This reverts commit a87d836448dced733afd10fd89a9ff3e68e2d49a.