Added missing encodings for java and javadoc