add missing encoding to spec