Fix Transformer.parse for Ruby 1.8

In Ruby 1.8 `String#[]` returns the character's code and must be
converted with `#chr` first.
Merge pull request #12 from koraktor/patch-1

Fix Transformer.parse for Ruby 1.8