Fix encode bug

I fixed encode of commit author's data bug.

Please test on Ant.

This pull request will resolve #16