This field was introduced in commit 0c90acfe in order to store the encoding of the currently processed file for use inside the DiffFormatter.

I admit that there is no test for files with different encoding (or even no test at all), but I think that now it does not work anymore. Could you please check this?