Adds encoding directive to be ruby 1.9 compatible
Merge pull request #3 from PedroCunha/fix/ruby19-compatible

Adds encoding directive to be ruby 1.9 compatible