The example "Specifying a character encoding scheme" could be read as one should specify encoding. Typically one should specify the project.build.sourceEncoding property instead and use the same ...