fixing build warning for missing encoding