Add missing encoding statements