Set xml encoding form config