Repair character decode error.