fix encoding of accents