correct java code to utf-8