Changed name of variable and added ruby 1.9.2 encoding tag

Made 2 small changes:
1) Changed the names of 2 variables that caused a warning when running with Ruby 1.9.2. The variables hided an outer variable and renaming it solves this.
2) Added a UTF8 tag to the tests which allows the tests to run under 1.9.2