fix unicode error because of umlauts in locales