Added UTF8 encoding tag for Ruby 1.9.2
Changed the name of the variable to remove a warning that it is hiding the outer one under Ruby 1.9.2
Merge pull request #1 from basvodde/master

Changed name of variable and added ruby 1.9.2 encoding tag