fix missing encoding on exportCSV view