return encoding back