Merge pull request #26 from saghm/master

fix for encode_ut8 returning iterator