Fix errors. Fix encoding.