Added missing encoding statement