Added a missing function to get the encoding value