change encoding to utf8
update javadoc