Let ruby determine the input encoding

Let travis run on this please.