add encoding comments to fix tests in ruby 2.0

this could also be fixed by calling force_encoding on the individual
binary strings, but that means switching on RUBY_VERSION to maintain 1.8
compatibility.