Fix locale issues.