This should look up in the array to see if the encoding is one of the valid ones the editor supports