remove unsued buffer and added utf-8 support
Merge pull request #2 from mafintosh/patch-1

Remove unsued buffer and added utf-8 support