Merge pull request #1 from flensrocker/master

Update
fix encoding error
remove unnecessary print
merge patch for encoding error from seahawk1986/master