Test that the list of character encodings is what we expect.