Corpus_compile makes the right file, but the character set is wrong