could you figure out why this is messing up the diacritics?