Fix spec encoding problem under Ruby 2.0.0.
Merge pull request #335 from ged/20_encoding_fix

Fix spec encoding problem under Ruby 2.0.0.