let ruby determine the input encoding
Merge pull request #3 from cosm/utf_8_fix

Let ruby determine the input encoding