change jd's encoding