changes for ruby 1.9.3
changes in gem logic
changed encoding to right
removed depricated header
Merge pull request #4 from alter/master

my 1st pull request