Should we be using the value of ``encoding`` here?