Fixed the problem it with LC_ALL, duuh