[Build] Set the encoding of the java files