Correct char conversion errors.