Fix encoding.