Log the error when the encoding doesn't exist.