fixed encoding of accented char