fix issue #3 :java encoding error, add gitignore