An empty file is currently (incorrectly) being detected as having an "unknown character encoding". See D9678 for an example.
{F171294}
An empty file is currently (incorrectly) being detected as having an "unknown character encoding". See D9678 for an example.
{F171294}
I think that the problem here is in DifferentialChangesetParser (see | DifferentialChangesetParser.php#716-732). If the changeset is empty, then $encoding will be left null.