Add missing encoding declare