Added missing encoding in mb_* functions