GRADLE-2099,GRADLE-1618 - ensure that the daemon uses the desired default platform encoding. The “desired platform encoding” is the client JVM's default platform encoding unless specified otherwise (via the JvmOptions class). If a daemon exists that is otherwise compatible except that it has a different platform encoding, a new one will be started.
We may want to add support for this to the tooling API (in the ProviderOperationParameters interface).
There's a potentially significant implied change in here. We now use the current JVMs default character encoding as the default character encoding for all forked JVMs. In practice, this is not likely to be a functional change as this is usually defined by environment variables that the child process would inherit. However, now we explicitly enforce that the child process has the right encoding.